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.

12.3 KB
Raw Blame
const CONFIG={"mode": "connected-tools", "demoTitle": "Connected tools", "palette": ["#e1d9ca", "#25251f", "#be6d57", "#779b83", "#ffffff"], "font": "暖灰米色背景、轻边框手机、数据图与流程卡片、衬线说明", "stages": [{"start": 0, "label": "连接节点图标"}, {"start": 5, "label": "通知引入问题"}, {"start": 8, "label": "用户提问"}, {"start": 14, "label": "分析工具图表"}, {"start": 20, "label": "图表局部查看"}, {"start": 24, "label": "追问原因"}, {"start": 27, "label": "设计流程对照"}, {"start": 34, "label": "请求制作分享材料"}, {"start": 38, "label": "幻灯片大纲"}, {"start": 41, "label": "生成设计"}, {"start": 46, "label": "品牌收尾"}], "objects": ["手机对话容器", "外部通知", "分析图表卡", "设计流程卡", "幻灯片结果卡", "用户追问"], "rules": ["以业务问题贯穿多工具调用:数据说明发生什么,流程说明为何,幻灯片负责分享。", "工具结果先以内嵌卡出现,再放大查看细节,关闭后回到同一对话。", "卡片视觉类型随信息任务变化:曲线→流程→页面,不能全换成同类结果卡。"], "transfer": ["可迁移为设计评审:反馈数据→原因分析→方案对照→汇报材料。", "更换品牌时也要替换工具内容,并保留证据到结论的因果链。"], "unknown": ["图表数据只是视频中的示例;没有对真实业务真实性进行验证。", "卡片内部交互与全量文字未恢复。"], "measureTexts": ["Amplitude", "Canva", "Open in Figma"], "coverTime": 27.25, "labels": ["Amplitude", "Canva", "Open in Figma"], "brand": "Anthropic", "accent": "#be6d57", "translations": {"en": {"templateName": "Connected Tools Evidence Chain", "summary": "Turn an incoming question into a chart, a process comparison and a shareable deck.", "styleDescription": "Warm phone canvas with differentiated analytical cards.", "reviewFocus": "Each new tool result must answer the preceding question."}}, "guidePlan": {"intro": "从通知提出问题,用图表说明变化、流程解释原因,再把结论整理成可分享的材料。每张卡片承担不同的信息任务。", "sections": [{"title": "图表、流程与页面各有分工", "text": ["暖灰米色背景、轻边框手机、数据图与流程卡片、衬线说明。", "以业务问题贯穿多工具调用:数据说明发生什么,流程说明为何,幻灯片负责分享。"], "palette": true, "reference": 2}, {"title": "卡片展开查看,再回到对话", "text": ["工具结果先以内嵌卡出现,再放大查看细节,关闭后回到同一对话。", "卡片视觉类型随信息任务变化:曲线→流程→页面,不能全换成同类结果卡。"], "clip": [14, 24]}, {"title": "让下一次提问承接已有结论", "text": ["通知引出问题,图表说明变化,流程解释原因,最后把结论转成分享材料。每次新提问都承接前一张卡片。"], "timeline": true}, {"title": "换工具与内容,保留证据链", "text": ["可迁移为设计评审:反馈数据→原因分析→方案对照→汇报材料。", "更换品牌时也要替换工具内容,并保留证据到结论的因果链。"]}]}, "templateId": "V241", "name": "Claude 手机工具连接", "duration": 52.25, "initialTime": 27.25, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [5, 20]};
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": [[35.5, 45]], "samples": [[35.5, [588.837208545051, 773.0232545916534]], [36, [587.4418598546512, 577.8837209020357]], [36.5, [587.4418591694352, 574.9883725408118]], [37, [718.6046502212289, 417.209302432885]], [37.5, [731.1627899724705, 399.06976755591506]], [38, [733.9534889302327, 397.6744184883721]], [42.5, [733.9534889297295, 397.6744184859829]], [43, [655.8139528864983, 466.04651193948484]], [43.5, [668.372094243105, 488.3720929366155]], [44.5, [668.3720942430796, 488.37209293626256]], [45, [640.4651150455164, 485.58139547928135]]], "maxCompressionErrorVsObservations": 1.3953510038818422, "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": [[35.5, 45]], "samples": [[35.5, 58.277910232543945], [36.5, 56.02325630187988], [37, 19.7470378875733], [37.5, 22.56818008422846], [38, 19.534883499145565], [42.5, 19.821523666381836], [43, 46.42778396606445], [43.5, 29.254676818847656], [44.5, 29.282817840576172], [45, 40.1591339111327]], "maxCompressionErrorVsObservations": 0.9180259704590981, "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": [[35.5, 45]], "samples": [[35.5, "C Canva"], [36.5, "© Canva"], [37, "Canva"], [43, "C Canva"], [43.5, "Canva"], [45, "C Canva"]], "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": [[35.5, 45]], "samples": [[35.5, 179.35923767089844], [36.5, 181.39533996582026], [37, 75.40355682373058], [38, 66.97674560546875], [39.5, 67.05978393554688], [40, 69.83239746093761], [41.5, 67.05978393554688], [42, 69.85045623779297], [42.5, 67.05978393554688], [43, 145.65304565429688], [43.5, 98.05090332031261], [44, 95.33747863769531], [44.5, 98.05857849121094], [45, 148.19097900390625]], "maxCompressionErrorVsObservations": 1.8484090169271639, "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": [[13.5, 24.5]], "samples": [[13.5, [659.9999998046512, 690.6976747813953]], [14.5, [658.6046489307466, 689.3023256660238]], [15, [669.7674432560618, 337.6744184676179]], [15.5, [799.5348842441861, 407.53749503428287]], [16.5, [798.1395386976742, 401.92540097930225]], [17, [796.0000081333332, 388.2690480542811]], [17.5, [699.1128067817725, 498.538735084476]], [18, [679.5622189635327, 448.25860846428907]], [18.5, [678.1550338671232, 445.5044141183125]], [19, [736.7441866604653, 946.0465111813953]], [19.5, [752.0000075999999, 521.0046394517311]], [22, [752.0000075999999, 521.1162794284485]], [22.5, [752.0930192093024, 448.00000051877555]], [23, [740.0000107999997, 111.99999946666665]], [23.5, [722.790689302326, 47.500000335909114]], [24.5, [721.395345, 44.500000061594406]]], "maxCompressionErrorVsObservations": 1.5000001371573575, "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": [[13.5, 24.5]], "samples": [[13.5, 36.27906799316406], [15, 33.78848648071289], [15.5, 719.8087307341686], [16, 727.4418614990416], [16.5, 726.149198288145], [17, 743.4619030914376], [17.5, 60.003726959228516], [18, 65.56662368774408], [18.5, 65.59067916870123], [19, 44.65116119384754], [19.5, 941.9907202965381], [22, 941.7674403431033], [22.5, 47.99999999999994], [24.5, 45.00000000000008]], "maxCompressionErrorVsObservations": 1.5000000000000568, "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": [[13.5, 24.5]], "samples": [[13.5, "Amplitude"], [15.5, "Amplitude\nDaily, Last 10 days | Amplitude 2.0"], [17.5, "Daily, Last 10 days | Amplitude 2.0"], [19.5, "Amplitude\nDaily, Last 10 days | Amplitude 2.0"], [22.5, "Daily, Last 10 days | Amplitude 2.0"], [24.5, "Daily, Last 10 days | Amplitude 2.0"]], "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": [[13.5, 24.5]], "samples": [[13.5, 175.81394958496094], [14.5, 178.82362365722656], [15, 167.5016326904297], [15.5, 449.30230712890625], [16.5, 457.67440795898426], [17, 487.9999694824221], [17.5, 734.6494750976565], [18, 790.485046386719], [18.5, 793.2513427734375], [19, 625.1162719726565], [19.5, 608.0], [22, 608.0], [22.5, 594.4185791015625], [23, 648.0], [23.5, 669.7673950195314], [24.5, 666.9767456054685]], "maxCompressionErrorVsObservations": 1.3953399658202557, "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": [[28.5, 32.5]], "samples": [[28.5, [982.3255824053065, 1053.4883723820633]], [29, [982.3255828824767, 1028.3720928494672]], [32.5, [982.3255828837209, 1028.4999996597815]]], "maxCompressionErrorVsObservations": 0.1096344134859919, "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": [[28.5, 32.5]], "samples": [[28.5, 33.8729248046875], [32.5, 31.0]], "maxCompressionErrorVsObservations": 1.4966926574707031, "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": [[28.5, 32.5]], "samples": [[28.5, "Open in Figma"], [32.5, "Open 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": [[28.5, 32.5]], "samples": [[28.5, 179.12290954589844], [32.5, 178.60464477539062]], "maxCompressionErrorVsObservations": 0.24815940856933594, "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."}]};