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.2 KB
Raw Blame
const CONFIG={"mode": "f3-hyperos", "mechanism": "hyperos", "demoTitle": "HyperOS", "brand": "Xiaomi", "palette": ["#eef6fb", "#11171f", "#4d9ee8", "#e2a9b6", "#b4dacf"], "accent": "#4d9ee8", "font": "无衬线窄长时间数字;控件和图标圆角一致,透明层保持明亮", "stages": [{"start": 0, "label": "玻璃近景"}, {"start": 4, "label": "手机锁屏"}, {"start": 8, "label": "多机组合"}, {"start": 10, "label": "音乐控件"}, {"start": 14, "label": "玻璃材质"}, {"start": 18, "label": "控制中心"}, {"start": 20, "label": "拨号界面"}, {"start": 24, "label": "桌面图标"}, {"start": 29, "label": "悬浮小组件"}, {"start": 35, "label": "图标序列"}, {"start": 38, "label": "平板文件"}, {"start": 41, "label": "多屏展示"}, {"start": 45, "label": "设备家族"}, {"start": 46.5, "label": "品牌"}], "objects": ["手机与平板", "玻璃控件", "大时间字", "应用图标", "桌面组件", "设备矩阵"], "rules": ["从材质特写进入手机界面,再把相同圆角和透明层扩展到图标、小组件与多设备。", "先展示玻璃边缘与曲面,再落到锁屏、音乐和控制中心。透明层保留边缘高光与背景色透出,正文比背景更清楚,不让折射干扰按钮含义。", "音乐卡和桌面小组件从手机中被放大展示,再回到完整界面。整体位置与内容一一对应,漂浮组件使用不同深度但同一光照方向。"], "transfer": ["同时更新壁纸、时间、图标、音乐和日历数据,保留组件归属与多尺度展开。材质效果可以简化,但每个控件的边界与阅读层级要一致。"], "unknown": ["时序与对象关系按所阅概览归纳,原始关键帧、缓动和字体文件未知。", "HTML 是 authored 机制示例,不是逐像素复刻;未进行 fresh agent 复刻。", "未分析音轨。", "原片设备模型、玻璃折射、景深和屏幕贴图未知;参考示例只表达控件层级与编排。"], "measureTexts": ["2026/5", "Weekly Meeting"], "labels": ["HyperOS"], "coverTime": 30.5, "creativeSummary": "从材质特写进入手机界面,再把相同圆角和透明层扩展到图标、小组件与多设备。", "guidePlan": {"intro": "从材质特写进入手机界面,再把相同圆角和透明层扩展到图标、小组件与多设备。", "sections": [{"title": "材质特写要回到可用控件", "text": ["先展示玻璃边缘与曲面,再落到锁屏、音乐和控制中心。透明层保留边缘高光与背景色透出,正文比背景更清楚,不让折射干扰按钮含义。"], "palette": true}, {"title": "控件属于设备,也能短暂离开屏幕", "text": ["音乐卡和桌面小组件从手机中被放大展示,再回到完整界面。整体位置与内容一一对应,漂浮组件使用不同深度但同一光照方向。"], "clip": [28.5, 35]}, {"title": "多设备段用共同视觉规则收束", "text": ["手机、平板和穿戴设备并置时保持共同圆角、图标与排版。先单屏看细节,最后看设备家族,不在一开始堆满产品。"], "timeline": true}, {"title": "换系统主题时替换整组组件", "text": ["同时更新壁纸、时间、图标、音乐和日历数据,保留组件归属与多尺度展开。材质效果可以简化,但每个控件的边界与阅读层级要一致。"]}]}, "evidenceReview": {"kind": "prepared-overview", "fullOverviewReviewed": true, "ocrReviewed": true, "sampleCount": 24, "reviewedFrameIds": ["K0001", "K0010", "K0019", "K0028", "K0038", "K0047", "K0056", "K0065", "K0074", "K0083", "K0092", "K0101", "K0111", "K0120", "K0129", "K0138", "K0147", "K0156", "K0165", "K0174", "K0184", "K0193", "K0202", "K0211"], "note": "All frames visible in prepared/overview.jpg and text-index.json reviewed. Boundaries inferred between samples."}, "translations": {"en": {"templateName": "Xiaomi — HyperOS", "summary": "Material close-ups expand into phone controls, floating widgets and a multi-device system.", "styleDescription": "Sans-serif lettering with a restrained type hierarchy and source colors #eef6fb, #11171f, #4d9ee8, #e2a9b6, #b4dacf.", "reviewFocus": "Preserve the named object relationships, stage order, typography hierarchy and content replacement rules. Demonstration is authored."}}, "templateId": "V227", "name": "HyperOS 官网界面动效 1", "duration": 47.2, "initialTime": 30.5, "sourceCanvas": {"width": 1546, "height": 870}, "actionRange": [4, 14]};
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": [[29, 29], [33, 33.5], [43, 46.5]], "samples": [[29, [1356.1206400324545, 57.32558131506093]], [33, [416.83575652207344, 328.217054152978]], [33.5, [563.6458345143055, 96.66666602222222]], [43, [1363.985465706141, 276.5116277664729]], [43.5, [557.3105596251622, 523.6911425632779]], [44, [612.354417190541, 391.08292911346183]], [44.5, [624.655877483482, 372.1715242216127]], [45, [629.1860463027198, 366.4341085387749]], [46.5, [630.3095929128916, 365.31007755765324]]], "maxCompressionErrorVsObservations": 0.7619526199138136, "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": [[29, 29], [33, 33.5], [43, 46.5]], "samples": [[29, 20.232557296752965], [33, 36.331844329833984], [33.5, 38.666664123535156], [43, 26.976743698120174], [43.5, 571.2223644756846], [44, 368.8418931802079], [44.5, 326.53796006155727], [45, 310.2325575757666], [46, 303.4883714759946], [46.5, 303.4883714759946]], "maxCompressionErrorVsObservations": 1.0251497630454196, "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": [[29, 29], [33, 33.5], [43, 46.5]], "samples": [[29, "2026/5"], [33, "2026/5"], [33.5, "2026/5"], [43, "2026/5"], [43.5, "2026/5\n2026/5"], [46.5, "2026/5\n2026/5"]], "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": [[29, 29], [33, 33.5], [43, 46.5]], "samples": [[29, 69.65988159179688], [33, 141.65869140625], [33.5, 122.39166259765625], [43, 94.3779067993164], [43.5, 1047.2083265770596], [44, 757.3134839116834], [44.5, 669.8050160325542], [45, 642.6686033047754], [45.5, 626.9647940837486], [46, 622.4447662925606], [46.5, 622.4447662925606]], "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.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[23, 24], [28.5, 31], [33, 33], [39.5, 40.5], [43.5, 44.5]], "samples": [[23, [464.02471121235465, 125.8914724635659]], [23.5, [467.02083837930536, 518.6666668886994]], [24, [466.2718042496547, 763.4302328279574]], [28.5, [750.587979719639, 330.0021226764021]], [29, [1055.0163765262805, 268.5620459997899]], [29.5, [712.4991884150616, 347.6381867407058]], [30, [364.02774268090945, 256.3338686152195]], [30.5, [375.26453663645344, 247.13565896391998]], [31, [388.7470948215647, 124.76744181287496]], [33, [497.73110687953, 600.2325581020673]], [39.5, [293.2456405460756, 498.99999987680974]], [40, [474.13662918032946, 521.5503878217055]], [40.5, [483.12500134805134, 520.4263565449241]], [43.5, [74.15407190218012, 862.2558140688325]], [44, [262.9098845074128, 612.5968991405039]], [44.5, [315.71656883115315, 565.3875970116279]]], "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": [[23, 24], [28.5, 31], [33, 33], [39.5, 40.5], [43.5, 44.5]], "samples": [[23, 40.46511459350583], [23.5, 45.33333396911621], [24, 43.13953399658203], [28.5, 32.98290443420399], [29, 179.3763563087221], [29.5, 35.4576301574707], [30, 33.673597335815344], [30.5, 36.271316528320284], [31, 31.20778465270999], [33, 40.46511459350597], [39.5, 13.999999999999943], [40.5, 16.141592025756836], [43.5, 11.488371849060059], [44.5, 11.240309715270996]], "maxCompressionErrorVsObservations": 1.582424163818331, "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": [[23, 24], [28.5, 31], [33, 33], [39.5, 40.5], [43.5, 44.5]], "samples": [[23, "Weekly Meeting"], [24, "Weekly Meeting"], [28.5, "Weekly Meeting"], [29, "Weekly Meeting\nWeekly Meeting"], [29.5, "Weekly Meeting"], [31, "Weekly Meeting"], [33, "Weekly Meeting"], [39.5, "Weekly Meeting"], [40.5, "Weekly Meeting"], [43.5, "Weekly Meeting"], [44.5, "Weekly Meeting"]], "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": [[23, 24], [28.5, 31], [33, 33], [39.5, 40.5], [43.5, 44.5]], "samples": [[23, 307.85174560546875], [23.5, 315.64166259765625], [24, 307.8517456054687], [28.5, 189.7833251953124], [29, 803.1592360695012], [29.5, 142.83566284179688], [30, 189.6726684570312], [31, 180.07942199707037], [33, 267.404052734375], [39.5, 101.11918640136719], [40, 80.89534759521484], [40.5, 80.97325134277338], [43.5, 85.38953399658203], [44, 62.918601989746094], [44.5, 56.17732238769531]], "maxCompressionErrorVsObservations": 0.6144180297851562, "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."}]};