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.

13.6 KB
Raw Blame
const CONFIG={"mode": "w2-device-sync", "demoTitle": "Agents from your phone", "palette": ["#f5f5f1", "#202122", "#9966cc", "#f1ba8a", "#9ab8ad"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "移动控制主张"}, {"start": 3.0, "label": "手机与电脑并列"}, {"start": 6.0, "label": "电脑授权"}, {"start": 10.0, "label": "接入成功"}, {"start": 14.0, "label": "消息同步"}, {"start": 18.0, "label": "结果图片同步"}, {"start": 21.0, "label": "手机输入"}, {"start": 25.0, "label": "发送追问"}, {"start": 28.0, "label": "电脑处理"}, {"start": 33.0, "label": "双端更新"}, {"start": 36.0, "label": "品牌"}], "objects": ["手机聊天", "电脑代理", "授权框", "配对状态", "共享图片", "追问", "键盘"], "rules": ["先授权配对,随后同一消息和结果出现在两端", "手机输入发出后电脑开始执行,最后双方更新,方向明确", "图像出现顺序说明同步关系,不需要每帧同步滚动"], "transfer": ["迁移到远程控制场景时保留授权→共享上下文→远程发起→反馈", "两端角色和消息身份保持一致,品牌内容可换"], "unknown": ["没有实测网络时延;南瓜渲染与手机键盘为示意。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Markdown image request", "Send follow-up", "scratchpad"], "coverTime": 7.2, "labels": ["移动控制主张", "手机与电脑并列", "电脑授权", "接入成功", "消息同步", "结果图片同步", "手机输入", "发送追问", "电脑处理", "双端更新", "品牌"], "brand": "Cursor", "accent": "#9966cc", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Phone-to-desktop agent sync", "summary": "Authorization connects two devices, then messages and results travel between them.", "styleDescription": "Purple backdrop, dark paired screens and a shared generated object.", "reviewFocus": "Make authorization and communication direction explicit."}}, "creativeSummary": "先授权配对,随后同一消息和结果出现在两端。手机输入发出后电脑开始执行,最后双方更新,方向明确。", "guideChapters": {"overview": "让手机和电脑共享同一任务", "composition": "两端屏幕与配对状态", "motion": "授权、同步与远程追问", "rhythm": "先授权后交换内容", "transfer": "保留消息方向与身份"}, "guidePlan": {"intro": "用手机与电脑并排说明远程协作:先建立授权,再同步上下文,最后从手机发起下一项工作。", "sections": [{"title": "先配对,再共享内容", "text": ["手机和电脑分别占据稳定位置,授权框出现在电脑端或明确的接收端。确认后显示连接状态,再让同一条消息和图片出现在两边。", "紫色外围承托深色双端界面,重要文字用浅色无衬线。手机更窄,只保留当前上下文;电脑更宽,展示执行与成果。"], "palette": true, "demo": "sequence"}, {"title": "同步靠相同内容,不靠两边乱动", "text": ["结果图片在电脑端出现后,再进入手机端。名称、内容和任务标题保持一致,滚动只服务当前阅读对象,不要求两边同时以同样速度滚动。"], "clip": [14, 21]}, {"title": "从手机发出的追问,电脑来处理", "text": ["手机键盘或输入框出现,发送追问后电脑进入处理状态,结果更新再回到两端。用这一轮方向明确的往返结束演示。", "换场景时可替换成果为设计图、报告或代码结果,保留授权、共享上下文和远程发起三种关系。"]}]}, "suggestedName": "Cursor · 从手机控制电脑代理", "templateId": "V274", "name": "You can now control agents on your computer from your phone.\n\nCheck in, reply, or start new tasks from the Cursor iOS ap", "duration": 38.8, "initialTime": 7.2, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [3.0, 14.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": [[5, 7], [11, 35.5]], "samples": [[5, [664.186046372093, 182.9069767890614]], [5.5, [739.5348865116277, 182.90697666009734]], [7, [739.5348865116277, 182.90697666009734]], [11, [746.511630244186, 181.50000014878526]], [11.5, [739.5348865116277, 182.90697666009734]], [12, [464.6511628837209, 233.02325569890968]], [14, [464.6511628837209, 233.02325569890968]], [14.5, [488.3720942041752, 207.9069766989097]], [18.5, [488.3720919716171, 207.90697672674423]], [19, [739.5348810232558, 181.50000000925036]], [19.5, [738.1395377209301, 181.50000019529693]], [20, [488.3720919716171, 207.90697672674423]], [27, [488.37209164603576, 207.90697662914224]], [27.5, [496.7441847114939, 206.4999999538042]], [35, [496.7441847114939, 206.4999999538042]], [35.5, [500.9302290904967, 210.80232557801293]]], "maxCompressionErrorVsObservations": 1.395352007653571, "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": [[5, 7], [11, 35.5]], "samples": [[5, 14.186046600341768], [7, 14.18604660034174], [11, 16.99999999999997], [11.5, 14.18604660034174], [12, 114.41860467796641], [14, 114.41860467796641], [14.5, 64.18604667796643], [18.5, 64.18604673363552], [19, 16.99999999999997], [19.5, 16.99999999999997], [20, 64.18604673363552], [27, 64.18604653843153], [27.5, 66.99999988910761], [35, 66.99999988910761], [35.5, 64.39534899925349]], "maxCompressionErrorVsObservations": 2.093540985015352e-07, "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": [[5, 7], [11, 35.5]], "samples": [[5, "Markdown image request •"], [5.5, "Markdown image request"], [7, "Markdown image request"], [11, "Markdown image request 8"], [11.5, "Markdown image request"], [12, "Markdown image request\nMarkdown image request"], [19, "Markdown image request"], [20, "Markdown image request\nMarkdown image request"], [27.5, "Markdown image request B\nMarkdown image request"], [29, "Markdown image request 8\nMarkdown image request"], [30, "Markdown image request •\nMarkdown image request"], [33.5, "Markdown image request 8\nMarkdown image request"], [34.5, "Markdown image request E\nMarkdown image request"], [35, "Markdown image request 8\nMarkdown image request"], [35.5, "Markdown image request 8\nMarkdown image request"]], "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": [[5, 7], [11, 35.5]], "samples": [[5, 184.18605041503906], [5.5, 167.4418487548827], [7, 167.4418487548827], [11, 186.97674560546875], [11.5, 167.4418487548827], [12, 717.2092960106963], [13.5, 720.0000000260035], [14, 717.2092960106963], [14.5, 669.7674333697877], [18.5, 669.7674378349038], [19, 167.4418487548828], [19.5, 170.23255920410156], [20, 669.7674378349038], [27, 669.7674384860666], [27.5, 686.5116246169829], [35, 686.5116246169829], [35.5, 678.1395243240938]], "maxCompressionErrorVsObservations": 1.8604693435380568, "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": [[5, 7], [11, 35.5]], "samples": [[5, [756.2790720930232, 855.3488371627907]], [5.5, [838.6046487906979, 855.3488373488372]], [6, [838.6046487906979, 855.3488373488372]], [6.5, [852.5581409651163, 856.5581397834721]], [7, [852.5581409668267, 855.3488371314825]], [11, [852.5581414418605, 856.5581393531467]], [27, [852.5581376279072, 856.5581395391931]], [27.5, [851.1627889302326, 853.9534880930232]], [35, [852.5581414418605, 855.1627905624489]], [35.5, [852.5581414418605, 852.7906976457759]]], "maxCompressionErrorVsObservations": 1.3953492412791775, "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": [[5, 7], [11, 35.5]], "samples": [[5, 19.534883499145394], [6.5, 17.11627864837658], [7, 21.676481246948242], [11, 17.11627960205078], [11.5, 14.325581073760986], [12, 17.116279602050895], [12.5, 14.32558155059803], [16, 14.325581073760986], [16.5, 17.116279602050895], [21, 17.11627960205078], [21.5, 14.32558155059803], [23.5, 14.325581073760986], [24, 17.11627864837658], [35.5, 14.41860485076893]], "maxCompressionErrorVsObservations": 1.6218405599180024, "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": [[5, 7], [11, 35.5]], "samples": [[5, "+ Send follow-up"], [6.5, "Send follow-up"], [7, "send follow-up"], [11, "Send follow-up"], [35.5, "Send follow-up"]], "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": [[5, 7], [11, 35.5]], "samples": [[5, 139.53488159179688], [6, 142.32557678222656], [6.5, 114.4186019897461], [7, 114.76471710205078], [11, 114.4186019897461], [25, 114.4186019897461], [25.5, 117.20929718017578], [27.5, 111.6279067993164], [35.5, 114.4186019897461]], "maxCompressionErrorVsObservations": 1.9186029434204102, "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": [[12, 14]], "samples": [[12, [146.51162730923534, 601.395348864618]], [14, [146.51162730923534, 599.999999835974]]], "maxCompressionErrorVsObservations": 1.0465118661672932, "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": [[12, 14]], "samples": [[12, 605.5813951721736], [13.5, 605.5813953615425], [14, 608.372093608199]], "maxCompressionErrorVsObservations": 1.2624593637156067e-07, "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": [[12, 14]], "samples": [[12, "scratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad"], [14, "scratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad\nscratchpad"]], "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": [[12, 14]], "samples": [[12, 75.34883488386848], [14, 75.34883488386848]], "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."}]};