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.1 KB
Raw Blame
const CONFIG={"mode": "w3-poster", "demoTitle": "Q1 2026", "brand": "Figma", "palette": ["#a3a099", "#202020", "#5b34ee", "#f5ff41", "#28df68"], "accent": "#5b34ee", "font": "无衬线中粗主标题;细边框界面与小号功能文字", "stages": [{"start": 0, "label": "巨字 Q"}, {"start": 2, "label": "季度拼贴"}, {"start": 6, "label": "收入数字"}, {"start": 9, "label": "同比指标"}, {"start": 13, "label": "留存指标"}, {"start": 17, "label": "设计宣言"}, {"start": 21, "label": "制作署名"}], "objects": ["巨型数字", "彩色矩形", "指标标签", "底部注脚", "署名"], "rules": ["多种宽度的巨字与色块紧密拼接,裁切边缘形成密度;底部信息条固定。", "每段只强调一个指标,先标签后数字,指标单位不得分离。"], "transfer": ["可换季度和数据;保留数字层级、单位以及底部注释。"], "unknown": ["阶段时间来自代表帧推断,尚未恢复原工程关键帧及缓动。", "示例仅重写关键关系,不包含原产品功能、精确字体和完整内部素材;未进行 fresh agent 复刻。", "未分析音轨,声音与动作同步关系未知。"], "measureTexts": ["Figma Financial Results", "Q12026", "REVENUE"], "labels": ["Q1 2026"], "coverTime": 6, "mechanism": "poster", "translations": {"en": {"templateName": "Figma — Q1 2026", "summary": "Oversized metrics and colored blocks form dense, sequential editorial posters.", "styleDescription": "Source-specific typography, palette and composition; exact font files are not recovered.", "reviewFocus": "Keep numbers, units, captions and persistent footnotes aligned. HTML is an authored explanation, not a full reconstruction."}}, "evidenceReview": {"status": "inferred", "sampledOverview": "worker3-review/V101.jpg", "sampleCount": 12, "note": "12-frame time coverage reviewed for all sources; full selected overview reviewed only where fullOverviewReviewed is true.", "fullOverviewReviewed": true, "ocrReviewed": true}, "creativeSummary": "多种宽度的巨字与色块紧密拼接,裁切边缘形成密度;底部信息条固定。", "guideChapters": {"overview": "Q1 2026 · 动作语言", "composition": "构图与对象关系", "motion": "数字与色块编排", "rhythm": "段落节奏与场景交接", "transfer": "主题替换与制作约束"}, "guidePlan": {"intro": "用高密度色块与巨型数字制作季度快报。一屏只讲一个指标,底部信息条始终提供名称和注释。", "sections": [{"title": "巨字和色块共同构成海报", "text": ["让字形占据大部分画幅,适度裁切边缘,彩色矩形紧密拼接。数字和单位保持一个阅读整体,固定页脚提供季度、指标名和说明。"], "demo": "sequence"}, {"title": "指标逐个切换,不同时争抢", "text": ["季度引导之后依次给收入、同比和留存。先让观众找到指标名称,再给主数字;每项完成一次阅读停顿,再切下一张。"], "table": {"headers": ["内容槽位", "排版约束"], "rows": [["季度", "建立开场主题"], ["收入", "金额与单位连在一起"], ["增长与留存", "百分号不脱离数字"], ["注脚", "位置固定,保持可读字号"], ["署名", "降低密度,结束整组海报"]]}}, {"title": "用撞色制造密度,用字重维持秩序", "text": ["灰色底板上使用紫、荧光黄和亮绿,巨字以深色粗无衬线为主。注脚用较小常规字重,形成鲜明比例差;不要用过细标题抵消色块的力度。"], "palette": true}, {"title": "换一组数据,就做成另一期", "text": ["同步替换季度、指标名称、数值、单位和注释。先确认每个数字能在一屏内成立,再调整字宽与色块比例;必要时分两屏,不能为了塞下数据把注脚压得不可读。"]}]}, "templateId": "V101", "name": "季度业绩|2026 Q1 数据海报", "duration": 25.041667, "initialTime": 6, "sourceCanvas": {"width": 720, "height": 900}, "actionRange": [2, 13]};
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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, [514.99999806, 778.00000024]], [4.5, [512.9999984166668, 776.0000001999999]], [17.5, [526.9999998634407, 776.9999999860215]], [18, [514.9999975750001, 777.000000325]], [25, [514.9999984166668, 776.0000001999999]]], "maxCompressionErrorVsObservations": 1.5000000891666332, "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, 24.0], [4.5, 24.0], [17.5, 26.0], [25, 24.0]], "maxCompressionErrorVsObservations": 1.7333333333333343, "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, "Figma Financial Results"], [4.5, "Figma Financial Results"], [17.5, "Figma Financial Results"], [25, "Figma Financial Results"]], "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, 258.0], [4.5, 258.0000000000001], [17.5, 257.9999999999999], [25, 258.0000000000001]], "maxCompressionErrorVsObservations": 1.7053025658242404e-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.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, [409.99999940057637, 808.000000103399]], [3, [410.00000079999995, 803.9999998666667]], [4.5, [410.00000079999995, 803.9999998666667]], [17.5, [442.99999990000003, 803.999999973913]], [18, [410.99999978000005, 804.0000001200001]], [25, [409.9999992, 804.0000000666666]]], "maxCompressionErrorVsObservations": 0.9285705671428559, "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, 12.271856307983398], [4.5, 12.0], [17.5, 12.0], [25, 12.000000000000114]], "maxCompressionErrorVsObservations": 1.1499853134153604, "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, "Q12026"], [4.5, "Q12026"], [17.5, "Q12026"], [25, "Q12026"]], "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": [[2.5, 4.5], [17.5, 25]], "samples": [[2.5, 48.06724166870117], [4.5, 48.0], [17.5, 46.0], [25, 48.0]], "maxCompressionErrorVsObservations": 1.776010131835939, "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": [[5, 13]], "samples": [[5, [548.9999998999999, 802.9999999827586]], [5.5, [360.9999986278816, 601.4464605464742]], [6, [360.0000014009538, 480.9209369319402]], [6.5, [381.9326507959805, 411.1176531407523]], [7.5, [376.02772817230107, 411.4468451177609]], [8, [375.9861325007896, 408.2820156033157]], [8.5, [367.05655868954636, 406.82010143202825]], [9, [254.00000549999984, 652.7878523223147]], [9.5, [254.00000549999984, 640.8454340777055]], [10.5, [254.00000549999984, 643.8482959893821]], [11, [323.04249149753684, 711.8020967224948]], [11.5, [325.13989590817226, 715.7795723149268]], [12.5, [324.9956359066415, 714.8625081660311]], [13, [321.13230476077257, 715.6721177547399]]], "maxCompressionErrorVsObservations": 1.5397162158484434, "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": [[5, 13]], "samples": [[5, 10.0], [5.5, 417.1070787570515], [6, 654.8025971498064], [6.5, 793.7646936261876], [7.5, 793.3400837478415], [8.5, 802.3597970559437], [9, 470.42429500537054], [9.5, 494.30913149458905], [10, 494.3857020146095], [10.5, 488.30340767123585], [11, 352.39580648834396], [11.5, 348.2451443808253], [13, 348.4600531850857]], "maxCompressionErrorVsObservations": 1.8198023748393553, "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": [[5, 13]], "samples": [[5, "REVENUE"], [5.5, "Revenue\nREVENUE"], [9, "Revenue\nREVENUE\nComparison of revenue for the three months ended March 31, 2026 and March 31, 2025."], [13, "Revenue\nREVENUE\nComparison of revenue for the three months ended March 31, 2026 and March 31, 2025."]], "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": [[5, 13]], "samples": [[5, 58.0], [5.5, 298.42300415039057], [8, 307.43151855468744], [8.5, 312.1302185058594], [9, 459.99999999999994], [10.5, 459.99999999999994], [11, 598.0849370774961], [11.5, 602.3686773255382], [12.5, 602.0801682130116], [13, 594.3535059212737]], "maxCompressionErrorVsObservations": 1.0616882324218295, "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."}]};