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.5 KB
Raw Blame
const CONFIG={"mode": "w2-prompt-publish", "demoTitle": "Prompt, preview, publish", "palette": ["#f5f5f1", "#202122", "#9966cc", "#f1ba8a", "#9ab8ad"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "应用入口"}, {"start": 1.0, "label": "选择仓库"}, {"start": 4.0, "label": "无需仓库"}, {"start": 6.0, "label": "输入建站请求"}, {"start": 9.0, "label": "构建状态"}, {"start": 11.0, "label": "网站预览"}, {"start": 13.0, "label": "保存仓库"}, {"start": 16.0, "label": "保存主张"}, {"start": 18.0, "label": "发布连接"}, {"start": 20.0, "label": "作品拼贴"}, {"start": 22.0, "label": "品牌"}], "objects": ["仓库选择", "提示框", "构建状态", "网站预览", "保存按钮", "发布连接", "作品局部"], "rules": ["先展示可选仓库,再强调从零创建;输入后才出现预览", "预览内容可以滚动检查,随后保存为仓库并进入发布", "末尾作品局部围绕一句三动作总结,呼应全流程"], "transfer": ["适合创作发布链;保留起点选择→生成→预览→保存→发布", "替换作品主题时也应替换请求与最终拼贴,保持一致"], "unknown": ["建筑照片和完整网页未复原;演示发布并未实际执行。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Create repo", "Chats", "• webinar follow-up tool"], "coverTime": 4.8, "labels": ["应用入口", "选择仓库", "无需仓库", "输入建站请求", "构建状态", "网站预览", "保存仓库", "保存主张", "发布连接", "作品拼贴", "品牌"], "brand": "Cursor", "accent": "#9966cc", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Prompt, preview and publish", "summary": "A blank starting point becomes a website, a saved repository and a publish destination.", "styleDescription": "Light UI over pink surroundings with editorial website examples.", "reviewFocus": "Keep the prompt, preview and final work thematically consistent."}}, "creativeSummary": "先展示可选仓库,再强调从零创建;输入后才出现预览。预览内容可以滚动检查,随后保存为仓库并进入发布。", "guideChapters": {"overview": "从空白请求走到发布", "composition": "提示框、预览与目的地", "motion": "创建、检查、保存与发布", "rhythm": "关键确认节点留停顿", "transfer": "替换作品保持前后主题一致"}, "guidePlan": {"intro": "从没有仓库的空白开始,生成一个网站,检查它,再保存和发布。每个阶段都围绕同一份作品展开。", "sections": [{"title": "先说明起点可以为空", "text": ["仓库选择器先出现,再切到从零开始的请求。输入中交代网站行业和设计方向,发送后显示构建状态,随后打开对应预览。", "浅色界面置于粉色外围,任务与控件使用清晰无衬线字。作品可用更有编辑感的衬线标题,但工具外壳保持统一。"], "palette": true, "demo": "sequence"}, {"title": "预览可滚动,内容要连续", "text": ["先看到页面首屏,再滚动到后续内容。文字、图像和配色延续输入方向,侧边任务区保持稳定,避免把成果展示误看成另一个应用。"], "clip": [9, 15]}, {"title": "保存与发布是两个动作", "text": ["创建仓库时给出确认反馈,发布时再交代目标平台。两者之间保留短停顿;链接或连线表达去向,不能代替实际入口。", "末尾把作品局部围绕一句“输入、预览、发布”的总结排开,组成完整工作链的回顾。"]}, {"title": "换主题时连作品合集一起改", "text": ["准备新的行业、提示词和页面内容,末尾拼贴从同一作品中选取。保留可选起点、预览检查、保存、发布四个环节。"]}]}, "templateId": "V262", "name": "Cursor — start a web app and deploy to Vercel", "duration": 24.633333, "initialTime": 4.8, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [1.0, 9.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": [[8.5, 14.5]], "samples": [[8.5, [625.1162797204364, 856.7441863267309]], [9, [613.9534893488371, 867.9069766046512]], [13, [613.9534893461345, 867.906976586889]], [13.5, [912.4493665619561, 434.53512671618364]], [14, [902.7575187970241, 415.3307142031508]], [14.5, [901.4498840503538, 414.1597324228776]]], "maxCompressionErrorVsObservations": 1.5541900211246684e-08, "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": [[8.5, 14.5]], "samples": [[8.5, 16.882146835327035], [13, 18.164236068725586], [13.5, 61.182102203369084], [14, 69.97465133666998], [14.5, 69.56190490722662]], "maxCompressionErrorVsObservations": 0.9971805148655406, "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": [[8.5, 14.5]], "samples": [[8.5, "Create repo"], [14.5, "Create repo"]], "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": [[8.5, 14.5]], "samples": [[8.5, 78.16898345947266], [13, 78.43147277832031], [13.5, 342.2005615234375], [14, 400.95022583007835], [14.5, 392.6505432128906]], "maxCompressionErrorVsObservations": 0.20415835910372948, "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": [[0, 0.5], [8.5, 13]], "samples": [[0, [375.34883790961396, 433.95348824646226]], [0.5, [375.34883790961396, 433.95348824646226]], [8.5, [252.55814032558135, 393.488372]], [9, [227.44186105813952, 387.90697660465116]], [13, [226.04651246511625, 387.90697665116284]]], "maxCompressionErrorVsObservations": 1.2209300188953591, "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": [[0, 0.5], [8.5, 13]], "samples": [[0, 14.783317565917969], [0.5, 14.783317565917969], [8.5, 16.744186401367188], [13, 16.7441864013673]], "maxCompressionErrorVsObservations": 1.2789769243681803e-13, "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": [[0, 0.5], [8.5, 13]], "samples": [[0, "Chats"], [0.5, "Chats"], [8.5, "Chats"], [13, "Chats"]], "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": [[0, 0.5], [8.5, 13]], "samples": [[0, 42.12971115112305], [0.5, 42.12971115112305], [8.5, 47.44186019897461], [9.5, 50.2325553894043], [13, 50.2325553894043]], "maxCompressionErrorVsObservations": 1.3953475952148438, "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": [[0, 0.5], [8.5, 13]], "samples": [[0, [457.6744165953488, 591.5000002890557]], [0.5, [457.6744165953488, 591.5000002890557]], [8.5, [339.06976972093014, 556.9883722966231]], [9, [316.7441884186046, 556.9883722966231]], [13, [316.74418880232554, 556.9883722734603]]], "maxCompressionErrorVsObservations": 1.3953500901162101, "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": [[0, 0.5], [8.5, 13]], "samples": [[0, 17.0], [0.5, 17.0], [8.5, 20.02325534820568], [13, 20.023256301879996]], "maxCompressionErrorVsObservations": 7.417466889592106e-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": [[0, 0.5], [8.5, 13]], "samples": [[0, "• webinar follow-up tool"], [0.5, "• webinar follow-up tool"], [8.5, "• webinar follow-up tool"], [13, "• webinar follow-up tool"]], "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": [[0, 0.5], [8.5, 13]], "samples": [[0, 200.9302215576172], [0.5, 200.9302215576172], [8.5, 209.3023223876953], [9, 220.46510314941406], [10, 223.2558135986328], [10.5, 220.46510314941406], [13, 220.46510314941406]], "maxCompressionErrorVsObservations": 1.395355224609375, "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."}]};