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.

11.0 KB
Raw Blame
const CONFIG={"mode": "w1-notifications", "demoTitle": "Grok for Android", "palette": ["#c9e6cc", "#232a25", "#76ad79", "#ffffff", "#e0e5df"], "font": "浅绿背景、手机锁屏、白色通知", "stages": [{"start": 0, "label": "手机锁屏"}, {"start": 0.6, "label": "同事请求通知"}, {"start": 1.7, "label": "助手结果通知"}, {"start": 3, "label": "拉远手机"}, {"start": 5.3, "label": "平台发布短句"}, {"start": 8, "label": "品牌"}], "objects": ["手机锁屏", "时间", "请求通知", "结果通知", "发布短句"], "rules": ["先出现人类请求,再出现助手准备好的结果,时间顺序表达回应。", "推近通知后拉远手机,强调系统级触达。", "把工作过程压缩为两条通知,直接对照请求和结果。"], "transfer": ["替换为状态提醒时保留请求→结果通知,避免凭空添加应用内页面。", "通知摘要短于两行。"], "unknown": ["原字体、音轨同步与原工程缓动未恢复。", "HTML 为动作关系示例,不作为完整原样复刻。"], "brand": "xAI / Grok", "labels": ["Benji Taylor • 3m", "Hey, do we have a recap from this", "morning's design standup?", "Grok Bot • 1m", "Your design standup notes are ready.", "Starlink"], "measureTexts": ["Benji Taylor • 3m", "Hey, do we have a recap from this", "morning's design standup?"], "coverTime": 2.0, "accent": "#76ad79", "translations": {"en": {"templateName": "A request and answer on the lock screen", "summary": "A human request notification is followed by an assistant result notification.", "styleDescription": "Soft green background and white mobile notification cards.", "reviewFocus": "The response should visibly answer the earlier request."}}, "guideChapters": {"overview": "一条请求,两条通知", "composition": "锁屏与先后通知", "motion": "请求先到,结果后到", "rhythm": "推近后回到完整设备", "transfer": "让结果回应同一件事"}, "creativeSummary": "先出现人类请求,再出现助手准备好的结果,时间顺序表达回应。", "guidePlan": {"intro": "用锁屏上的两条通知完成一次问答:人类提出请求,助手带回结果。", "sections": [{"title": "锁屏承担整个场景", "text": ["浅绿背景包围手机,时间与通知层级清楚。白色通知卡使用简洁无衬线,发件人、时间和正文通过字重区分;每条正文控制在两行左右。"], "palette": true, "demo": "sequence"}, {"title": "先推近请求,再出现回复", "text": ["第一条通知建立事项,第二条通知带出对应结果。镜头靠近通知帮助阅读,随后拉远回到完整手机,再切平台发布短句。"], "clip": [0.6, 5.3]}, {"title": "换成另一种系统级提醒", "text": ["可换团队、任务和结果摘要,保留相同事项与先后顺序。结果通知用短句说明已经准备好的东西,品牌信息放在手机之后。"]}]}, "templateId": "V314", "name": "Grok Bot|Android 发布", "duration": 9.966667, "initialTime": 2.0, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [0.6, 5.3]};
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": [[0, 5]], "samples": [[0, [851.1627926046513, 870.6976742790698]], [0.5, [851.1627926046513, 870.6976742790698]], [1, [793.9534888139533, 488.244186642544]], [1.5, [793.9534875627908, 753.5000006953119]], [2, [800.0000043999999, 767.9999996000001]], [2.5, [830.2325585232558, 814.7093020155285]], [3, [849.7674437906976, 867.9999999048221]], [3.5, [851.1627926046513, 870.6976742790698]], [5, [851.1627926046513, 870.6976742790698]]], "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": [[0, 5]], "samples": [[0, 33.488372802734375], [0.5, 33.488372802734375], [1, 50.48837280273426], [1.5, 50.999999999999886], [2, 48.0], [3, 34.0], [5, 33.488372802734375]], "maxCompressionErrorVsObservations": 1.5813941955566406, "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": [[0, 5]], "samples": [[0, "Benji Taylor • 3m"], [5, "Benji Taylor • 3m"]], "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": [[0, 5]], "samples": [[0, 228.8372039794923], [0.5, 228.8372039794923], [1, 348.837188720703], [2, 352.0], [2.5, 270.6976623535156], [3, 231.62789916992176], [3.5, 228.8372039794923], [5, 228.8372039794923]], "maxCompressionErrorVsObservations": 1.5814056396483807, "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": [[0, 5]], "samples": [[0, [951.6279100465115, 913.9534882325582]], [0.5, [951.6279100465115, 913.9534882325582]], [1, [944.6511568255814, 555.5000008686382]], [1.5, [946.0465069634552, 820.4999998579494]], [2, [946.0465146976744, 834.5000003075565]], [2.5, [951.6279133953485, 866.50000060506]], [3, [951.627902623256, 911.4069767059253]], [5, [951.6279100465115, 913.9534882325582]]], "maxCompressionErrorVsObservations": 1.909883644974684, "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": [[0, 5]], "samples": [[0, 30.697673797607422], [0.5, 30.697673797607422], [1, 45.0], [2, 45.0], [3, 31.18604564666748], [5, 30.697673797607422]], "maxCompressionErrorVsObservations": 1.0930228233337402, "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": [[0, 5]], "samples": [[0, "Hey, do we have a recap from this"], [5, "Hey, do we have a recap from this"]], "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": [[0, 5]], "samples": [[0, 429.7674255371094], [0.5, 429.7674255371094], [1, 650.2325439453125], [1.5, 653.0232543945312], [2, 653.0232543945312], [2.5, 513.4883422851561], [3, 435.34881591796886], [3.5, 429.7674255371094], [5, 429.7674255371094]], "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.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 5]], "samples": [[0, [908.3720895906977, 953.0232559534884]], [0.5, [908.3720895906977, 953.0232559534884]], [1, [881.8604618372093, 612.5581396569768]], [1.5, [883.2558101860466, 877.6744187441859]], [2, [881.8604634418605, 890.1744188735793]], [2.5, [898.6046557674417, 913.9534888255814]], [3, [908.3720901162792, 951.6279071162791]], [4, [908.3720936860466, 954.4186050697674]], [5, [908.3720895906977, 953.0232559534884]]], "maxCompressionErrorVsObservations": 0.6976745581395107, "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": [[0, 5]], "samples": [[0, 30.697673797607422], [0.5, 30.697673797607422], [1, 47.44186019897461], [2, 50.34883689880371], [2.5, 36.279067993164176], [3.5, 30.697673797607422], [4, 33.488372802734375], [5, 30.697673797607422]], "maxCompressionErrorVsObservations": 1.4534883499146645, "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": [[0, 5]], "samples": [[0, "morning's design standup?"], [5, "morning's design standup?"]], "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": [[0, 5]], "samples": [[0, 343.25579833984375], [0.5, 343.25579833984375], [1, 524.651184082031], [1.5, 527.4418334960938], [2, 524.6511840820312], [2.5, 413.02325439453125], [3, 348.83718872070324], [3.5, 343.25579833984375], [5, 343.25579833984375]], "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."}]};