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.2 KB
Raw Blame
const CONFIG={"mode": "w2-computer-phone", "demoTitle": "Control your apps", "palette": ["#f5f5f1", "#202122", "#9966cc", "#f1ba8a", "#9ab8ad"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "功能主张"}, {"start": 4.0, "label": "输入电脑操作请求"}, {"start": 7.0, "label": "代理运行"}, {"start": 9.0, "label": "出现手机模拟器"}, {"start": 11.0, "label": "滚动路线"}, {"start": 13.0, "label": "进入详情"}, {"start": 15.0, "label": "返回列表"}, {"start": 17.0, "label": "收藏筛选"}, {"start": 19.0, "label": "品牌"}], "objects": ["指令框", "代理日志", "手机模拟器", "路线列表", "详情页", "收藏状态", "指针"], "rules": ["左侧代理与右侧模拟器同屏,操作结果发生在受控应用中", "滚动→详情→返回→收藏筛选是连贯操作,不是几张无关画面", "末段推近收藏结果,反馈要与前面收藏操作对应"], "transfer": ["换应用时保留代理端与被控端两种角色", "列表内容可换,用户动作和最后结果的因果不能省略"], "unknown": ["未运行原应用;真实照片、设备系统及后台执行过程未复现。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["iPhone 17 Pro", "3:43", "IOS 26.5"], "coverTime": 7.8, "labels": ["功能主张", "输入电脑操作请求", "代理运行", "出现手机模拟器", "滚动路线", "进入详情", "返回列表", "收藏筛选", "品牌"], "brand": "Cursor", "accent": "#9966cc", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Agent-controlled simulator", "summary": "An agent request drives a mobile simulator through list, detail and favorite states.", "styleDescription": "Warm gradient backdrop, dark agent pane and a clear phone simulation.", "reviewFocus": "Keep controller and controlled application roles visible."}}, "creativeSummary": "左侧代理与右侧模拟器同屏,操作结果发生在受控应用中。滚动→详情→返回→收藏筛选是连贯操作,不是几张无关画面。", "guideChapters": {"overview": "展示代理如何控制另一个应用", "composition": "代理栏与手机模拟器", "motion": "滚动、查看与收藏", "rhythm": "控制端和结果端同屏", "transfer": "换应用保留操作闭环"}, "guidePlan": {"intro": "用同屏关系说明谁在控制、谁在响应。左侧代理接收任务,右侧手机模拟器完成一组可追踪的操作。", "sections": [{"title": "先输入一个具体目标", "text": ["功能主张之后输入电脑操作请求,代理开始执行,再出现手机模拟器。指令应指向可在短片里完成的任务,例如查看内容并收藏。", "代理栏用深色,模拟器内容使用浅色,暖色背景连接两者。任务文本保持清晰无衬线字,应用内部标题沿用其自己的层级。"], "palette": true, "demo": "sequence"}, {"title": "把操作连成一条路径", "text": ["列表滚动、打开详情、返回、收藏、进入收藏页依次发生。每次进入新页面,保留相同对象的名称或图片,让观众能认出仍是刚才那一项。", "指针或触点先到达目标,随后才改变界面。代理日志只突出当前动作,不与手机同时滚动大段文字。"], "clip": [9, 18]}, {"title": "用结果状态收尾", "text": ["最后推近收藏结果或完成状态,代理面板退为背景。", "迁移到另一应用时,替换任务、列表、详情和最终结果;控制端与被控端的角色不变,避免把两边做成毫无关联的动画。"]}]}, "templateId": "V071", "name": "Cursor 能操控电脑", "duration": 21.033333, "initialTime": 7.8, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [4.0, 11.0]};
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": [[9.5, 16], [17, 18]], "samples": [[9.5, [823.9999990000001, 81.0000001]], [16, [825.000000725, 80.999999925]], [17, [581.0000011249999, 83.99999995000002]], [17.5, [581.0000009, 83.99999992000002]], [18, [586.0000014, 103.99999993333333]]], "maxCompressionErrorVsObservations": 0.7692320961537007, "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": [[9.5, 16], [17, 18]], "samples": [[9.5, 10.000000000000043], [16, 10.000000000000043], [17, 11.999999999999957], [18, 12.000000000000043]], "maxCompressionErrorVsObservations": 4.263256414560601e-14, "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": [[9.5, 16], [17, 18]], "samples": [[9.5, "iPhone 17 Pro"], [16, "iPhone 17 Pro"], [17, "iPhone 17 Pro"], [18, "iPhone 17 Pro"]], "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": [[9.5, 16], [17, 18]], "samples": [[9.5, 59.999996185302734], [16, 58.0], [17, 90.0], [17.5, 90.0], [18, 84.0]], "maxCompressionErrorVsObservations": 1.5384586040790253, "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": [[12, 18]], "samples": [[12, [787.000000325, 138.999999925]], [16, [786.9999996333333, 138.99999983333333]], [16.5, [692.999999625, 152.00000009999997]], [17, [524.0000003600001, 172.9999999]], [17.5, [524.0000003600001, 172.9999999]], [18, [532.0000003600001, 187.99999988000002]]], "maxCompressionErrorVsObservations": 0.9999999322916722, "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": [[12, 18]], "samples": [[12, 9.999999999999972], [14.5, 12.000000000000028], [16, 9.999999999999972], [18, 16.00000000000003]], "maxCompressionErrorVsObservations": 1.6000000000000458, "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": [[12, 18]], "samples": [[12, "3:43"], [18, "3:43"]], "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": [[12, 18]], "samples": [[12, 26.0], [16, 26.000000000000114], [17, 36.0], [18, 36.0]], "maxCompressionErrorVsObservations": 1.0000000000000568, "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": [[10, 13.5], [14.5, 16], [18, 18]], "samples": [[10, [811.0000005666668, 89.99999993333333]], [13.5, [811.0000005666668, 90.99999989999999]], [14.5, [809.9999994666666, 91.00000010000001]], [16, [809.9999994666666, 91.00000010000001]], [18, [565.9999998689896, 118.00000043994783]]], "maxCompressionErrorVsObservations": 1.0000011000001905, "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": [[10, 13.5], [14.5, 16], [18, 18]], "samples": [[10, 7.999999999999972], [13.5, 9.999999999999972], [14.5, 9.999999999999972], [16, 9.999999999999972], [18, 12.508267879486041]], "maxCompressionErrorVsObservations": 1.7142857142857135, "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": [[10, 13.5], [14.5, 16], [18, 18]], "samples": [[10, "IOs 26.5"], [10.5, "IOS 26.5"], [13.5, "IOS 26.5"], [14.5, "iOS 26.5"], [15, "IOS 26.5"], [16, "IOS 26.5"], [18, "IOS 26.5"]], "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": [[10, 13.5], [14.5, 16], [18, 18]], "samples": [[10, 34.000000000000114], [12, 31.999998092651367], [13.5, 34.000000000000114], [14.5, 31.999998092651367], [15, 34.000000000000114], [16, 31.999998092651367], [18, 44.13589096069336]], "maxCompressionErrorVsObservations": 1.5000014305115599, "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."}]};