Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

11.6 KB
Raw Blame
const CONFIG={"mode": "w2-window-carousel", "demoTitle": "Import your project", "palette": ["#101013", "#ffffff", "#ed3b99", "#778df2", "#fb6740"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "作品网站"}, {"start": 1.0, "label": "输入导入请求"}, {"start": 2.5, "label": "第二网站"}, {"start": 5.8, "label": "代码仓库"}, {"start": 8.6, "label": "电商网站"}, {"start": 11.1, "label": "回到首网站"}], "objects": ["横向网站队列", "前景网站", "底部输入条", "导入文案"], "rules": ["前景网站按水平队列切换,底部输入位置保持稳定", "每个网站对应不同来源的导入命令;命令在该网站停留期间逐步写出", "尾部重新出现第一网站,形成演示循环"], "transfer": ["可换为多格式导入或多工具连接;维持固定操作条和不同来源对应", "每个网站保持约一段读写时间,不把全段堆成一屏"], "unknown": ["未恢复全部界面内容、准确字体、声音与原工程曲线。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Edit with & Lovable", "Build v", "2 days ago"], "coverTime": 3.7, "labels": ["作品网站", "输入导入请求", "第二网站", "代码仓库", "电商网站", "回到首网站"], "brand": "Lovable", "accent": "#ed3b99", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Import source carousel", "summary": "A horizontal website queue pairs each source with a matching import prompt.", "styleDescription": "Colorful site previews over a dark glow with a fixed foreground input.", "reviewFocus": "Keep prompts synchronized with the displayed source."}}, "creativeSummary": "前景网站按水平队列切换,底部输入位置保持稳定。每个网站对应不同来源的导入命令;命令在该网站停留期间逐步写出。", "guideChapters": {"overview": "把导入来源排成队列", "composition": "前景网站与固定输入条", "motion": "网站滑动与命令写入", "rhythm": "每个来源留一段输入时间", "transfer": "让来源和命令成对替换"}, "guidePlan": {"intro": "用一条横向网站队列说明“这些来源都能导入”。输入栏保持在前景,让每个来源都有自己的导入命令。", "sections": [{"title": "移动来源,固定操作入口", "text": ["网站视窗沿水平方向切换,前景视窗清晰,左右邻项只露出一部分。底部输入条固定在同一位置;网站变化时,观众不用重新寻找操作入口。"], "demo": "sequence"}, {"title": "一站点,一条命令", "text": ["当前站点稳定后开始写入对应的导入文本。命令足以辨认来源后再切下一站,离场时同步清空或替换输入内容;不要让上一站的命令留在新站点上。", "网站可以有完全不同的视觉风格,输入条、字体和按钮却保持一致。暗色背景与柔光承托队列,前景输入用高对比文字。"], "palette": true}, {"title": "把末尾接回起点", "text": ["最后一个来源结束后,将队列接回第一个网站,恢复开场输入状态。循环连接处保持移动方向、视窗大小和前景层次一致。", "迁移时按“来源页面+来源类型+导入命令”成组替换。可改为设计文件、仓库或多工具导入,保留稳定入口和变化来源。"]}]}, "templateId": "V043", "name": "导入项目和网站", "duration": 11.666667, "initialTime": 3.7, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [1.0, 8.6]};
const DATA={"tracks": [{"id": "text-0.center", "target": "text-0", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 2], [3.5, 5.5], [8, 9], [10, 11]], "samples": [[0, [1112.0, 617.9999998000001]], [1, [1101.0000015666665, 618.9999998999999]], [2, [1085.0000015666665, 618.9999998999999]], [3.5, [1092.0000011500001, 618.999999925]], [5.5, [1047.0000000333334, 617.9999998000001]], [8, [1063.0000015666667, 617.9999999333334]], [8.5, [1016.0000011499999, 618.999999925]], [9, [1150.0000015333333, 618.9999998999999]], [10, [1083.0000015666665, 617.9999999333334]], [10.5, [1066.00000115, 618.999999925]], [11, [1001.0000000333334, 617.9999998000001]]], "maxCompressionErrorVsObservations": 1.7500008374997833, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 2], [3.5, 5.5], [8, 9], [10, 11]], "samples": [[0, 12.0], [2, 10.0], [3.5, 10.0], [5.5, 12.0], [8, 12.0], [9, 10.0], [10, 12.0], [11, 12.0]], "maxCompressionErrorVsObservations": 2.0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[0, 2], [3.5, 5.5], [8, 9], [10, 11]], "samples": [[0, "Edit with & Lovable"], [2, "Edit with & Lovable"], [3.5, "Edit with & Lovable"], [5.5, "Edit with & Lovable"], [8, "Edit with & Lovable"], [9, "Edit with & Lovable"], [10, "Edit with & Lovable"], [11, "Edit with & Lovable"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.width", "target": "text-0", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 2], [3.5, 5.5], [8, 9], [10, 11]], "samples": [[0, 92.0], [2, 94.0], [3.5, 92.0], [5.5, 94.0], [8, 94.0], [9, 92.0], [10, 94.0], [10.5, 92.0], [11, 94.00000000000011]], "maxCompressionErrorVsObservations": 1.5, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 5.5], [6.5, 8.5], [10, 10.5]], "samples": [[3, [780.0000007333333, 630.9999998833333]], [5.5, [781.0000009, 630.99999986]], [6.5, [782.0000007666666, 630.99999985]], [8.5, [784.0000009600001, 629.9999998400001]], [10, [781.000000641586, 630.999999865229]], [10.5, [782.0000011521477, 630.999999839748]]], "maxCompressionErrorVsObservations": 1.000000206190407, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 5.5], [6.5, 8.5], [10, 10.5]], "samples": [[3, 22.0], [5.5, 22.0], [6.5, 22.0], [8.5, 24.000000000000114], [10, 22.867755889892578], [10.5, 23.176891326904297]], "maxCompressionErrorVsObservations": 1.0844287872314453, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[3, 5.5], [6.5, 8.5], [10, 10.5]], "samples": [[3, "Build v"], [5.5, "Build v"], [6.5, "Build v"], [8.5, "Build v"], [10, "Build v"], [10.5, "Build v"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.width", "target": "text-1", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[3, 5.5], [6.5, 8.5], [10, 10.5]], "samples": [[3, 88.0], [5.5, 90.0], [6.5, 92.0], [8.5, 96.0], [10, 90.20817565917969], [10.5, 92.2743148803711]], "maxCompressionErrorVsObservations": 2.0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[6, 8.5]], "samples": [[6, [1020.0153808971037, 334.0673656946778]], [6.5, [865.0000011, 454.999999925]], [8, [825.0109843534538, 455.05102786103413]], [8.5, [696.0264846093901, 324.9999999166667]]], "maxCompressionErrorVsObservations": 0.6593443351973747, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[6, 8.5]], "samples": [[6, 96.13473098935572], [6.5, 358.0], [8, 358.1020555220683], [8.5, 98.00000003333332]], "maxCompressionErrorVsObservations": 0.06803701471221757, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[6, 8.5]], "samples": [[6, "e81b4d0 - 2 days ago\n2 days ago\n2 days ago"], [6.5, "e81ba00 - 2 days ago\n2 days ago\n2 days ago\nb-pages 2 days ago"], [7, "e81b4d0 -2 days ago\n2 days ago\n2 days ago\nages 2 days ago"], [7.5, "081b4d0 - 2 days ago\n2 days ago\n2 days ago\nles 2 days ago"], [8, "081b4d0 -2 days ago\n2 days ago\n2 days ago\n2 days ago"], [8.5, "e81b4d0 - 2 days ago\n2 days ago\n2 days ago"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.width", "target": "text-2", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[6, 8.5]], "samples": [[6, 164.0307591275407], [6.5, 338.0000000499999], [7, 339.99999979999984], [8, 338.02197164024074], [8.5, 168.05296706878016]], "maxCompressionErrorVsObservations": 1.0109859951204498, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}]};