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.

10.6 KB
Raw Blame
const CONFIG={"mode": "w2-competition-rank", "demoTitle": "Perps Competition", "palette": ["#0e1520", "#ffffff", "#315ce8", "#33b085", "#f05563"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "赛事公布"}, {"start": 3.0, "label": "周期"}, {"start": 5.0, "label": "杠杆与资产"}, {"start": 11.0, "label": "参数界面"}, {"start": 14.0, "label": "奖池刻度"}, {"start": 17.0, "label": "进入条件"}, {"start": 19.0, "label": "排行榜"}, {"start": 22.0, "label": "奖励区间"}, {"start": 25.0, "label": "倒计时"}, {"start": 28.0, "label": "比赛日期"}, {"start": 31.0, "label": "入口"}, {"start": 34.0, "label": "品牌"}], "objects": ["赛事标题", "资产卡", "杠杆", "奖池刻度", "排行榜", "奖项表", "倒计时", "条款"], "rules": ["活动发布后说明参与方式,再展开排名和奖励的映射", "排行榜突出一行时对应奖金卡保持同一名次,不能随意漂移", "日期、周期、风险条款和入口共同收尾"], "transfer": ["迁移到竞赛活动时保留周期→参与→排名→奖励→截止条件", "不得只保留醒目奖金而删掉条件与风险信息"], "unknown": ["营销条款和日期是原片内容,未验证当前有效性;收益不表示保证。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Trading is risky. 100% loss can occur.", "Trading available on polymarket.com only.", "Not available in all jurisdiction, including the United States and others."], "coverTime": 6.2, "labels": ["赛事公布", "周期", "杠杆与资产", "参数界面", "奖池刻度", "进入条件", "排行榜", "奖励区间", "倒计时", "比赛日期", "入口", "品牌"], "brand": "Polymarket", "accent": "#315ce8", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Competition and rewards", "summary": "Participation controls lead to rankings, reward tiers and a time-limited entry.", "styleDescription": "Dark blue finance graphics, large prize typography and leaderboard rows.", "reviewFocus": "Keep ranking positions aligned with reward conditions."}}, "creativeSummary": "活动发布后说明参与方式,再展开排名和奖励的映射。排行榜突出一行时对应奖金卡保持同一名次,不能随意漂移。", "guideChapters": {"overview": "把参赛规则讲成完整路径", "composition": "奖池、排名与时间条件", "motion": "参与后展示排名和奖励", "rhythm": "每种规则独立成拍", "transfer": "保留奖励与条件的对应"}, "guidePlan": {"intro": "把赛事信息排成一条参与路径:什么比赛、如何参加、如何排名、怎样奖励、何时开始。主视觉必须与规则一起成立。", "sections": [{"title": "赛事名称和周期先出现", "text": ["标题与周期形成开场,资产或工具标记交代比赛内容。深蓝或黑底配亮蓝强调,奖金与名次采用大号无衬线数字,条款保持足够对比。"], "palette": true}, {"title": "从参与动作进入排名", "text": ["先展示相关操作或进入方式,再用刻度或大数字展开奖池。排行榜随后出现,突出某一名次时,对应奖励卡同步变化。"], "demo": "sequence"}, {"title": "排名与奖励必须一一对应", "text": ["榜单的名次、参与者和表现分列,奖励区间另有清楚标签。单项奖励和总奖池分开标注,不用相同位置的一串数字替代不同概念。"], "table": {"headers": ["规则信息", "应同时显示"], "rows": [["总奖池", "活动周期与口径"], ["排名奖励", "对应名次区间"], ["参赛时间", "开始与截止"], ["参与入口", "适用条件与必要条款"]]}}, {"title": "倒计时指向下一场行动", "text": ["奖励讲清之后再出现倒计时、日期和入口,末尾回到品牌。", "迁移到设计比赛、产品挑战或团队活动时,更新参与条件、评分方式和奖励表。保留规则与行动的对应,不只替换赛事名称。"]}]}, "templateId": "V333", "name": "Polymarket|Perps 赛事数据面板", "duration": 36.033333, "initialTime": 6.2, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [3.0, 14.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": [[33.5, 36]], "samples": [[33.5, [640.9999963, 649.0000000333333]], [36, [642.0000027499999, 646.999999925]]], "maxCompressionErrorVsObservations": 1.6000000450000016, "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": [[33.5, 36]], "samples": [[33.5, 14.0], [36, 14.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-0.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[33.5, 36]], "samples": [[33.5, "Trading is risky. 100% loss can occur."], [36, "Trading is risky. 100% loss can occur."]], "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": [[33.5, 36]], "samples": [[33.5, 221.9999999999999], [36, 220.0]], "maxCompressionErrorVsObservations": 1.599999999999909, "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": [[33.5, 36]], "samples": [[33.5, [640.9999958333335, 669.0000000333333]], [36, [640.9999968750001, 667.000000075]]], "maxCompressionErrorVsObservations": 1.6000000083333816, "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": [[33.5, 36]], "samples": [[33.5, 14.0], [36, 14.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.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[33.5, 36]], "samples": [[33.5, "Trading available on polymarket.com only."], [36, "Trading available on polymarket.com only."]], "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": [[33.5, 36]], "samples": [[33.5, 249.99998474121082], [36, 250.0]], "maxCompressionErrorVsObservations": 1.2207031346633812e-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": [[33.5, 36]], "samples": [[33.5, [641.0000068999998, 688.9999999666667]], [36, [641.0000051749998, 686.999999975]]], "maxCompressionErrorVsObservations": 1.6000002016667167, "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": [[33.5, 36]], "samples": [[33.5, 14.0], [36, 14.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-2.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[33.5, 36]], "samples": [[33.5, "Not available in all jurisdiction, including the United States and others."], [36, "Not available in all jurisdiction, including the United States and others."]], "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": [[33.5, 36]], "samples": [[33.5, 414.0], [36, 414.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."}]};