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-odds-map", "demoTitle": "Midterms Hub", "palette": ["#f9faf8", "#17202b", "#3d69eb", "#dd5664", "#d8dfe5"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "噪声与意见"}, {"start": 5.0, "label": "单州概率"}, {"start": 9.0, "label": "地图聚合"}, {"start": 12.0, "label": "席位总览"}, {"start": 15.0, "label": "州详情"}, {"start": 18.0, "label": "不同选举类型"}, {"start": 22.0, "label": "新闻变化"}, {"start": 25.0, "label": "概率分布"}, {"start": 28.0, "label": "完整地图"}, {"start": 31.0, "label": "导航入口"}, {"start": 35.0, "label": "品牌"}], "objects": ["州形状", "概率百分比", "地图", "席位条", "选举分类", "新闻流", "时间标签"], "rules": ["零散州形先分散再拼成地图,表示从噪声到结构化信息", "总览推近局部州,再回到席位和概率分布,尺度变化保持地理关联", "新闻变化与对应概率更新相邻出现"], "transfer": ["可迁移为地域数据看板,保留地区→汇总→局部→变化解释", "色彩必须有稳定图例;主题迁移需替换地理与实际数据"], "unknown": ["地图几何和概率未逐帧测量,源片竞选预测仅作内容观察。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["258 to win", "227 DEM", "212 current"], "coverTime": 10.2, "labels": ["噪声与意见", "单州概率", "地图聚合", "席位总览", "州详情", "不同选举类型", "新闻变化", "概率分布", "完整地图", "导航入口", "品牌"], "brand": "Polymarket", "accent": "#3d69eb", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Regional odds exploration", "summary": "Scattered regions assemble into a map, then reveal local probabilities and changes.", "styleDescription": "White data editorial, red-blue regions and compact probability bars.", "reviewFocus": "Maintain geographic and color-legend continuity."}}, "creativeSummary": "零散州形先分散再拼成地图,表示从噪声到结构化信息。总览推近局部州,再回到席位和概率分布,尺度变化保持地理关联。", "guideChapters": {"overview": "从地区噪声走到信息总览", "composition": "地图、概率与新闻变化", "motion": "聚合地图后聚焦局部", "rhythm": "总览和详情来回切换", "transfer": "替换地区时更新图例和口径"}, "guidePlan": {"intro": "把零散地区信息收成一张可浏览的地图,再从总览进入局部变化。观众先有空间概念,才读概率与新闻。", "sections": [{"title": "从分散地区聚成地图", "text": ["开场让地区形状与意见文字分散出现,随后收束成完整地图。聚合时保持每个地区的身份,结束后留下稳定的地理排列,避免只做随机方块汇聚。", "白底、深色文字与红蓝两组颜色构成数据界面。地区名和概率用清晰无衬线字,概率数字保持对齐;颜色语义在所有镜头中一致。"], "palette": true, "demo": "sequence"}, {"title": "总览给结构,局部给理由", "text": ["席位条或汇总数字先建立全局,然后推近一个州。地区详情、选举类型和最新变化按层次展开,返回总览时仍能找到刚才的地区。"], "clip": [12, 25]}, {"title": "新闻必须对应一个变化", "text": ["一条新闻或状态更新进入时,让相关地区、概率或分布条同步突出。不要让新闻滚动与地图变色各自随机播放。", "用相同图例连接地图、席位条和概率分布,时间标签说明变化发生的先后。"], "timeline": true}, {"title": "换成地域业务看板", "text": ["先准备新地区边界、统一指标和稳定色彩分类,再安排局部故事。地图、汇总、详情与新闻引用同一组数据,保留从全局到局部再回全局的导航。"]}]}, "suggestedName": "Polymarket · 中期选举总览", "templateId": "V069", "name": "We're excited to announce our 2026 Midterms Hub.\n\nWatch the odds shift before the polls on America's #1 most accurate el", "duration": 36.916667, "initialTime": 10.2, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [5.0, 15.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": [[11, 12], [13, 13.5]], "samples": [[11, [960.0000012093024, 241.18604636531316]], [11.5, [960.0000012093024, 266.5116278604652]], [12, [959.9999988820807, 279.0697671694353]], [13, [866.5116267082059, 545.5813954985649]], [13.5, [845.581396371679, 542.7906975545528]]], "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.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[11, 12], [13, 13.5]], "samples": [[11, 14.37209320068365], [12, 17.175462722778263], [13, 26.135169982910043], [13.5, 25.546613693237305]], "maxCompressionErrorVsObservations": 1.8202896118164062, "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": [[11, 12], [13, 13.5]], "samples": [[11, "258 to win"], [12, "258 to win"], [13, "258 to win"], [13.5, "258 to win"]], "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": [[11, 12], [13, 13.5]], "samples": [[11, 72.55813598632812], [12, 72.6564483642577], [13, 120.20911407470703], [13.5, 122.87799835205078]], "maxCompressionErrorVsObservations": 0.04915618896478691, "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": [[11, 12], [13, 13.5]], "samples": [[11, [565.1162800253222, 263.72093013470203]], [11.5, [586.0465130235746, 272.0930231555044]], [12, [583.2558128372093, 283.3488373931941]], [13, [306.97674576787443, 549.7674417259232]], [13.5, [293.02325486470636, 546.9767443227646]]], "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.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[11, 12], [13, 13.5]], "samples": [[11, 27.31974411010745], [12, 25.30232429504389], [13, 45.250015258789176], [13.5, 45.214176177978516]], "maxCompressionErrorVsObservations": 0.8475885391234073, "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": [[11, 12], [13, 13.5]], "samples": [[11, "227 DEM"], [12, "227 DEM"], [13, "227 DEM"], [13.5, "227 DEM"]], "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": [[11, 12], [13, 13.5]], "samples": [[11, 114.88200378417969], [12, 111.6279067993164], [13, 189.90745544433594], [13.5, 189.8991241455078]], "maxCompressionErrorVsObservations": 1.5494499206542969, "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": [[11, 12], [13, 13.5]], "samples": [[11, [542.7906967322833, 332.0930233934821]], [11.5, [570.6976742790698, 339.02325576593523]], [12, [570.6976734782089, 348.83720945141283]], [13, [283.25581526588627, 665.5813952782071]], [13.5, [269.302326517252, 665.5813952026153]]], "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.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[11, 12], [13, 13.5]], "samples": [[11, 16.893482208251896], [11.5, 14.04651165008545], [12, 17.508087158203182], [13, 26.423694610595817], [13.5, 26.052322387695312]], "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.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[11, 12], [13, 13.5]], "samples": [[11, "212 current"], [12, "212 current"], [13, "212 current"], [13.5, "212 current"]], "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": [[11, 12], [13, 13.5]], "samples": [[11, 75.38187408447254], [12, 75.51490783691406], [13, 131.4068603515625], [13.5, 131.33880615234375]], "maxCompressionErrorVsObservations": 0.09955215454107247, "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."}]};