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.4 KB
Raw Blame
const CONFIG={"mode": "w2-countdown-trade", "demoTitle": "HYPE Up or Down", "palette": ["#f4f7f3", "#101b1b", "#33c98d", "#255de1", "#171d25"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "涨跌问题"}, {"start": 2.0, "label": "买卖表单"}, {"start": 5.0, "label": "方向选择"}, {"start": 7.0, "label": "填写金额"}, {"start": 9.0, "label": "交易确认"}, {"start": 10.0, "label": "快速倒计时"}, {"start": 13.0, "label": "领取结果"}, {"start": 16.0, "label": "回报主张"}, {"start": 19.0, "label": "行动入口"}, {"start": 21.0, "label": "品牌"}], "objects": ["问题标题", "涨跌按钮", "金额", "价格线", "倒计时", "领取按钮", "结果数字"], "rules": ["表单选择后倒计时压缩跳变,到零后才出现领取", "绿色曲线和收益字同步扩张,是状态强调而非真实数据测量", "白底教学、深色操作、品牌色收尾三段分工明确"], "transfer": ["保留操作时间→等待时间→完成反馈三种时段", "可以换成任务竞赛或进度演示,倒计时压缩要明确"], "unknown": ["原片采用编辑压缩的五分钟倒计时;未测真实市场走势和收益。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Market v", "Amount", "Balance $4,123"], "coverTime": 5.8, "labels": ["涨跌问题", "买卖表单", "方向选择", "填写金额", "交易确认", "快速倒计时", "领取结果", "回报主张", "行动入口", "品牌"], "brand": "Polymarket", "accent": "#33c98d", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Compressed countdown flow", "summary": "A direction choice and amount lead to a compressed timer and claim state.", "styleDescription": "White instruction sections, dark forms and green-blue completion cues.", "reviewFocus": "Label the timer as editorially compressed."}}, "creativeSummary": "表单选择后倒计时压缩跳变,到零后才出现领取。绿色曲线和收益字同步扩张,是状态强调而非真实数据测量。", "guideChapters": {"overview": "展示操作、等待与完成", "composition": "表单、倒计时与领取状态", "motion": "确认后计时,到零再反馈", "rhythm": "明确压缩的等待段", "transfer": "换任务保留状态边界"}, "guidePlan": {"intro": "把操作、等待和完成拆成三种明确状态。倒计时负责压缩等待,但开始与结束必须有清楚的触发。", "sections": [{"title": "先完成方向与金额", "text": ["涨跌问题出现在表单之前,方向选项在同一行,金额置于其下。选中方向后填写金额,按钮确认再切入等待。", "白底教学段与深色操作区交替,绿色突出选中与完成,蓝色负责品牌收尾。数字采用对齐字形,标题保持简短无衬线。"], "palette": true, "demo": "sequence"}, {"title": "压缩时间,也保留时间逻辑", "text": ["倒计时从确认之后开始,跳过中间等待时保持单调递减,并用明确的节奏让人知道时间被压缩。到零之后再显示领取或完成动作,不让结果与等待同时出现。"], "clip": [9, 16]}, {"title": "结果之后再放行动入口", "text": ["领取反馈使用清楚的文字和单一状态符号,随后出现下一次行动与品牌。收益数字需要与实际条件绑定。", "可以迁移到任务竞赛、倒计时预约或进度完成,保留操作完成、等待开始、完成解锁三道边界。"]}]}, "templateId": "V068", "name": "Hyperliquid 5-minute up/down HYPE polymarkets —…", "duration": 22.583333, "initialTime": 5.8, "sourceCanvas": {"width": 1080, "height": 1350}, "actionRange": [2.0, 9.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": [[2, 6.5], [12.5, 14]], "samples": [[2, [723.0000006868654, 616.9999998836879]], [2.5, [738.9999990870908, 498.9999992911735]], [3, [845.0000015506819, 521.9999998748461]], [3.5, [849.000001548635, 501.9999998516524]], [4.5, [853.9999991385971, 497.99999982683755]], [5, [857.9999990444443, 472.99999978888883]], [5.5, [859.9999989224509, 330.99999882067317]], [6, [864.0000010657593, 327.99999985959835]], [6.5, [864.9999987889119, 283.00000012679953]], [12.5, [804.0000009998844, 544.0000000152038]], [13, [805.9999991033748, 503.99999978537664]], [13.5, [802.0000015582397, 505.00000079527905]], [14, [704.9999988750001, 565.99999975]]], "maxCompressionErrorVsObservations": 0.49999918243986485, "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, 6.5], [12.5, 14]], "samples": [[2, 26.60979080200184], [2.5, 28.039717674255314], [3, 36.98081207275396], [5.5, 40.111135482788086], [6, 37.27204513549805], [6.5, 40.28651809692383], [12.5, 46.427505493164176], [13, 34.53506851196289], [13.5, 31.83840942382824], [14, 20.0]], "maxCompressionErrorVsObservations": 1.4850708007811448, "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, 6.5], [12.5, 14]], "samples": [[2, "Market v"], [6.5, "Market v"], [12.5, "Market v"], [14, "Market v"]], "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, 6.5], [12.5, 14]], "samples": [[2, 110.14253234863281], [2.5, 122.41835784912121], [3, 186.18734741210926], [4, 186.35462951660156], [5, 192.0], [6.5, 194.4348907470703], [12.5, 160.6504669189453], [13.5, 156.34307861328125], [14, 98.00000000000011]], "maxCompressionErrorVsObservations": 1.9965591430664062, "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, 8]], "samples": [[2, [345.9999991658309, 823.0000000745038]], [2.5, [326.99999908333336, 730.0000001000001]], [3, [208.9999987921836, 875.9999996359006]], [3.5, [201.99999877533992, 861.9999996360909]], [4.5, [196.99999921651442, 864.9999997847087]], [5, [192.99999903333332, 844.000000088889]], [5.5, [190.99999902103661, 703.9999997184209]], [6, [186.99999887527986, 703.9999996994827]], [6.5, [183.99999920646462, 662.9999997667585]], [7, [180.99999917572774, 117.99999977756987]], [7.5, [177.99999924268423, 93.99999979342995]], [8, [175.0000011403394, 79.99999994056748]]], "maxCompressionErrorVsObservations": 0.5000024378457795, "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, 8]], "samples": [[2, 27.057527542114144], [2.5, 28.0], [3, 44.199436187744254], [4, 40.78129577636719], [4.5, 43.44391632080078], [5, 40.000000000000114], [5.5, 45.56642532348633], [6, 42.3351936340332], [6.5, 47.11492156982422], [7, 44.81137847900399], [8, 46.45528411865234]], "maxCompressionErrorVsObservations": 1.6762256622315022, "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, 8]], "samples": [[2, "Amount"], [8, "Amount"]], "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, 8]], "samples": [[2, 100.26972961425781], [2.5, 110.0], [3, 166.96156311035156], [8, 183.30889892578125]], "maxCompressionErrorVsObservations": 1.9489929199218068, "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, 8]], "samples": [[2, [371.0000010714285, 852.9999998999999]], [2.5, [355.0000006820909, 766.0000002369407]], [3, [254.0000013981146, 930.9999998383223]], [3.5, [247.00000078749997, 918.0000002499999]], [4.5, [243.00000087551246, 924.000000302723]], [5, [240.00000080274924, 902.0000012205426]], [5.5, [237.0000008125, 764.000000275]], [6, [234.00000082565737, 764.0000002730201]], [6.5, [231.00000092769233, 724.000001298903]], [7, [228.00000015, 178.99999971250006]], [7.5, [226.00000196923455, 154.9999988637331]], [8, [223.00000083874545, 141.0000002838462]]], "maxCompressionErrorVsObservations": 1.000000721927222, "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, 8]], "samples": [[2, 21.999999999999886], [2.5, 28.8767032623291], [3, 45.10075759887707], [3.5, 40.0], [4.5, 47.46428680419933], [5.5, 43.999999999999886], [6.5, 48.68976020812988], [7, 45.99999999999994], [7.5, 49.56096076965326], [8, 47.21149826049816]], "maxCompressionErrorVsObservations": 1.702042579650822, "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, 8]], "samples": [[2, "Balance $4,123"], [8, "Balance $4,123"]], "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, 8]], "samples": [[2, 150.0], [2.5, 166.1456298828125], [3, 252.4982147216797], [3.5, 258.0], [8, 278.1979064941406]], "maxCompressionErrorVsObservations": 1.7094828287760606, "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."}]};