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.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
const CONFIG={"mode": "w2-design-components", "demoTitle": "Build with a design system", "palette": ["#f5f5f1", "#202122", "#9966cc", "#f1ba8a", "#9ab8ad"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "输入Figma需求"}, {"start": 3.0, "label": "搜索设计系统"}, {"start": 7.0, "label": "读取组件变量"}, {"start": 10.0, "label": "构建画板"}, {"start": 13.0, "label": "检查元数据"}, {"start": 16.0, "label": "输出链接"}, {"start": 17.0, "label": "打开Figma"}, {"start": 19.0, "label": "选中侧栏"}, {"start": 21.0, "label": "检查图层"}, {"start": 24.0, "label": "局部组件"}], "objects": ["提示框", "工具调用列表", "设计系统变量", "结果链接", "画板", "图层树", "组件选框"], "rules": ["先查已有设计系统与变量,后创建画板而不是自由画一个相似图", "成果链接带到外部设计工具,选择组件与图层证明可编辑性", "镜头逐步放大至局部结构,保持画板和图层选择同步"], "transfer": ["可迁移为结构化设计生成,保留查规范→生成→检查可编辑结构", "只给最终截图不足以表达可编辑性,需要层级对象"], "unknown": ["未读取真实Figma文件;组件链接、变量和图层语义来自画面OCR。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Thought briefly", "Q usage-dashboard", "Usage dashboard design in Figma"], "coverTime": 8.2, "labels": ["输入Figma需求", "搜索设计系统", "读取组件变量", "构建画板", "检查元数据", "输出链接", "打开Figma", "选中侧栏", "检查图层", "局部组件"], "brand": "Cursor", "accent": "#9966cc", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Design-system component creation", "summary": "An agent searches a design system, creates a dashboard and opens its editable layers.", "styleDescription": "Light conversation UI transitioning to a dark design-tool workspace.", "reviewFocus": "Show structural editability through layer and component selection."}}, "creativeSummary": "先查已有设计系统与变量,后创建画板而不是自由画一个相似图。成果链接带到外部设计工具,选择组件与图层证明可编辑性。", "guideChapters": {"overview": "从设计系统生成可编辑结构", "composition": "工具调用、画板与图层", "motion": "查规范、生成与检查结构", "rhythm": "先看整体再看组件", "transfer": "换系统也替换变量和组件"}, "guidePlan": {"intro": "从已有设计系统出发生成页面,再进入设计工具检查图层与组件。最终画面不仅要好看,还要让结构可见。", "sections": [{"title": "先说明采用哪套设计系统", "text": ["输入里同时交代目标页面与设计系统。执行过程按查找组件、读取变量、构建画板、检查结构推进,工具列表保持整齐,不需要逐条展开冗长日志。", "对话区用浅色、常规无衬线与清楚的状态标记;强调色只标正在处理的步骤。"], "palette": true, "demo": "sequence"}, {"title": "结果链接把观众带进可编辑画板", "text": ["生成完成后,先出现明确结果链接,再打开设计工具。完整画板先停留,随后推近侧栏或某个组件;图层树与画布中的选中边框同步变化。"], "clip": [16, 25]}, {"title": "用局部结构证明编辑关系", "text": ["选择一个能体现组件复用的区域,例如侧栏、统计卡或导航项。选中状态只框住相应对象,属性面板跟随对象更新;不要只放一张最终截图。", "画板内部遵循所选设计系统的字形、间距和配色。工具外壳与作品样式分开处理,避免主题色覆盖所有工具文字。"]}, {"title": "换系统时重建组件来源", "text": ["新主题需要对应的变量、组件和页面内容。保留读取规范到生成,再到局部编辑检查的顺序,结果层级与实际页面内容保持一致。"]}]}, "templateId": "V239", "name": "Cursor Figma Component Creation — Cursor can now…", "duration": 25.416667, "initialTime": 8.2, "sourceCanvas": {"width": 1380, "height": 1080}, "actionRange": [3.0, 13.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": [[3.5, 16.5]], "samples": [[3.5, [165.47965021002912, 644.110389458157]], [4, [165.47965021002912, 644.110389458157]], [4.5, [165.47964995555697, 492.91280165283524]], [5.5, [164.4767446409364, 492.9128014998232]], [6, [165.4796501041667, 429.79591809158774]], [6.5, [165.4796529880814, 461.91372950907635]], [8, [164.47674300763083, 343.80612252071785]], [8.5, [163.47383482739826, 289.7560296765812]], [11, [165.4796521155523, 288.75417423372414]], [11.5, [164.47674292345826, 423.7847867215412]], [12, [164.4767464425871, 274.49999972607236]], [12.5, [165.47965271729652, 592.062151988597]], [13, [165.47964921715118, 692.2179960367888]], [13.5, [164.47674442101328, 536.9944341401538]], [14, [164.47674603139535, 469.8701298649703]], [14.5, [164.47674603139535, 469.87012978482187]], [15, [165.47965021002912, 609.3395177359197]], [15.5, [165.47965310843017, 482.9341377838698]], [16, [164.4767431385659, 275.49999984436914]], [16.5, [164.4767431385659, 275.49999984436914]]], "maxCompressionErrorVsObservations": 1.6046538305232332, "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": [[3.5, 16.5]], "samples": [[3.5, 30.220779418945312], [4, 30.220779418945312], [4.5, 164.3042666934105], [5.5, 164.3042664195891], [6, 250.4638216581825], [6.5, 30.172541618347168], [8, 26.387754440307617], [11, 28.49165153503418], [11.5, 246.45640012833115], [12, 28.999999999999943], [12.5, 30.12430477142334], [13.5, 300.5565869323089], [14, 166.30797806134842], [14.5, 166.30797822164521], [15, 485.320964260277], [15.5, 28.131725311279297], [16.5, 27.0]], "maxCompressionErrorVsObservations": 1.4025980631510429, "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": [[3.5, 16.5]], "samples": [[3.5, "Thought briefly"], [4.5, "Thought briefly\nThought briefly"], [6.5, "Thought briefly"], [11.5, "Thought briefly\nThought briefly"], [12, "Thought briefly"], [13, "Thought briefly\nThought briefly"], [13.5, "Thought briefly\nThought briefly\nThought briefly"], [14, "Thought briefly\nThought briefly"], [15, "Thought briefly\nThought briefly\nThought briefly"], [15.5, "Thought briefly"], [16.5, "Thought briefly"]], "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": [[3.5, 16.5]], "samples": [[3.5, 190.55232238769537], [12, 188.54650878906247], [13, 194.56394958496094], [15, 190.55232238769537], [15.5, 194.5639495849609], [16, 188.5465087890625], [16.5, 188.5465087890625]], "maxCompressionErrorVsObservations": 1.7698355282054479, "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, 16.5]], "samples": [[0, [742.1511621889535, 57.06493486804304]], [16.5, [742.1511621889535, 57.06493486804304]]], "maxCompressionErrorVsObservations": 1.0029066288552713e-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-1.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 16.5]], "samples": [[0, 26.12987041473385], [16.5, 26.12987041473385]], "maxCompressionErrorVsObservations": 1.0658141036401503e-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, 16.5]], "samples": [[0, "Q usage-dashboard"], [16.5, "Q usage-dashboard"]], "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, 16.5]], "samples": [[0, 240.69766235351562], [16.5, 240.69766235351562]], "maxCompressionErrorVsObservations": 1.52587890625e-05, "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": [[2.5, 16.5]], "samples": [[2.5, [298.86627623297346, 129.13172528021863]], [5.5, [298.8662819065614, 129.13172510847204]], [6, [295.8575530999274, 129.1317252837967]], [8, [294.8546460981106, 129.1317252837967]], [8.5, [298.8662819065614, 129.13172510847204]], [11, [298.8662819065614, 129.13172510847204]], [11.5, [294.8546460981106, 129.1317252837967]], [12, [298.8662819065614, 129.13172510847204]], [14.5, [298.8662819065614, 129.13172510847204]], [15, [294.8546471110466, 129.13172526876886]], [15.5, [298.8662819065614, 129.13172510847204]], [16.5, [298.86627576017446, 129.1317252921455]]], "maxCompressionErrorVsObservations": 0.7521812592841002, "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": [[2.5, 16.5]], "samples": [[2.5, 26.263450622558622], [16.5, 26.263450622558608]], "maxCompressionErrorVsObservations": 1.1368683772161603e-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-2.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[2.5, 16.5]], "samples": [[2.5, "Usage dashboard design in Figma"], [16.5, "Usage dashboard design in Figma"]], "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": [[2.5, 16.5]], "samples": [[2.5, 397.1511535644531], [5.5, 397.15115356445307], [6, 403.1686096191406], [8, 405.17440795898443], [8.5, 397.15115356445307], [11, 397.15115356445307], [11.5, 405.17440795898443], [12, 397.15115356445307], [14.5, 397.15115356445307], [15, 405.17440795898443], [15.5, 397.15115356445307], [16.5, 397.1511535644531]], "maxCompressionErrorVsObservations": 1.5043487548828693, "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."}]};