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.

9.9 KB
Raw Blame
const CONFIG={"mode": "w3-search", "demoTitle": "Send a message", "brand": "Apple", "palette": ["#1478c5", "#f7fbf9", "#62c4d7", "#a4d9e3", "#214be0"], "accent": "#62c4d7", "font": "无衬线中粗主标题;细边框界面与小号功能文字", "stages": [{"start": 0, "label": "搜索胶囊"}, {"start": 0.5, "label": "输入关键词"}, {"start": 1, "label": "建议列表展开"}, {"start": 2.3, "label": "选择动作"}, {"start": 2.6, "label": "消息字段"}, {"start": 3.3, "label": "继续输入内容"}], "objects": ["搜索胶囊", "联想列表", "动作标签", "参数占位符"], "rules": ["搜索词触发建议列表,选中操作后列表收起、胶囊转为参数化命令。", "新输入只改变消息槽位,收件人占位符持续可辨。"], "transfer": ["可换任意命令面板操作;保留搜索→选择→填参数。"], "unknown": ["阶段时间来自代表帧推断,尚未恢复原工程关键帧及缓动。", "示例仅重写关键关系,不包含原产品功能、精确字体和完整内部素材;未进行 fresh agent 复刻。", "未分析音轨,声音与动作同步关系未知。"], "measureTexts": ["Yesterday", "Photos", "Actions"], "labels": ["Send a message"], "coverTime": 1, "mechanism": "search", "translations": {"en": {"templateName": "Apple — Send a message", "summary": "A search capsule becomes a selected action with editable parameters.", "styleDescription": "Source-specific typography, palette and composition; exact font files are not recovered.", "reviewFocus": "Keep suggestion expansion, selection and parameter entry distinct. HTML is an authored explanation, not a full reconstruction."}}, "evidenceReview": {"status": "inferred", "sampledOverview": "worker3-review/V287.jpg", "sampleCount": 12, "note": "12-frame time coverage reviewed for all sources; full selected overview reviewed only where fullOverviewReviewed is true.", "fullOverviewReviewed": false, "ocrReviewed": true}, "creativeSummary": "搜索词触发建议列表,选中操作后列表收起、胶囊转为参数化命令。", "guideChapters": {"overview": "Send a message · 动作语言", "composition": "构图与对象关系", "motion": "状态变化与动作依赖", "rhythm": "段落节奏与场景交接", "transfer": "主题替换与制作约束"}, "guidePlan": {"intro": "一条搜索胶囊从查找命令变成填写命令。动作选择前后,输入区域承担不同职责。", "sections": [{"title": "搜索、建议、参数连续切换", "text": ["关键词出现后展开建议列表,选中动作后收起列表,并把胶囊改成参数化输入。新内容只写入消息槽位,收件人等占位符保留清晰边界。"], "demo": "sequence"}, {"title": "把状态变化限制在胶囊附近", "text": ["圆角容器位置稳定,列表从其下方出现;收起后回到同一个输入基线。指针与选中高亮说明当前操作,文本不随背景运动。"]}, {"title": "半透明浅面板浮在蓝色背景上", "text": ["用蓝与青色渐层衬托浅色胶囊,输入与列表文字用清楚的无衬线。动作标签、占位符和已输入内容要有对比层级,标签宽度随文本适配。"], "palette": true}, {"title": "可迁移为任意命令面板", "text": ["替换查询词、建议项和参数名称。保留“查找→确定动作→补全参数”的语法,确保每个占位符能在最终输入中找到对应内容。"]}]}, "templateId": "V287", "name": "Apple|Spotlight 界面动效", "duration": 5.5, "initialTime": 1, "sourceCanvas": {"width": 1260, "height": 780}, "actionRange": [0.5, 2.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": [[1.5, 2]], "samples": [[1.5, [918.0415946772517, 405.4833199042993]], [2, [918.0214754884469, 405.2006525622899]]], "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.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[1.5, 2]], "samples": [[1.5, 77.42587294550003], [2, 76.38570338095178]], "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.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[1.5, 2]], "samples": [[1.5, "Yesterday\nYesterday"], [2, "Yesterday\nYesterday"]], "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": [[1.5, 2]], "samples": [[1.5, 64.62860870361328], [2, 64.56758223728605]], "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.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[1, 2]], "samples": [[1, [494.959742928899, 263.84737333909897]], [2, [494.9590445652408, 263.84467255787473]]], "maxCompressionErrorVsObservations": 0.0013506031121437445, "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": [[1, 2]], "samples": [[1, 120.30525307180207], [2, 120.31065548425059]], "maxCompressionErrorVsObservations": 0.0027007812242629825, "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": [[1, 2]], "samples": [[1, "Photos\nSend messenger forphotoshoot"], [1.5, "Photos\nSend messenger for photoshoot"], [2, "Photos\nSend messenger for photoshoot"]], "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": [[1, 2]], "samples": [[1, 266.0805206922018], [2, 266.0819100028518]], "maxCompressionErrorVsObservations": 0.0006983636582731378, "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": [[1, 2]], "samples": [[1, [550.0000007010467, 210.99999993551268]], [2, [550.0000006991459, 210.99999991741677]]], "maxCompressionErrorVsObservations": 9.047965932040825e-09, "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": [[1, 2]], "samples": [[1, 14.838757514953613], [2, 14.606187820434627]], "maxCompressionErrorVsObservations": 0.11628484725949306, "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": [[1, 2]], "samples": [[1, "Actions"], [2, "Actions"]], "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": [[1, 2]], "samples": [[1, 56.20377731323242], [2, 56.148460388183594]], "maxCompressionErrorVsObservations": 0.027658462524414062, "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."}]};