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.

9.6 KB
Raw Blame
const CONFIG={"mode": "w1-particle-word", "demoTitle": "Gemini", "palette": ["#efedf7", "#24232a", "#8068c5", "#c05a8d", "#5e87d7"], "font": "浅紫白背景、粉蓝渐变字标、粒子尾迹", "stages": [{"start": 0, "label": "新章节短句"}, {"start": 3.8, "label": "黑底 Today"}, {"start": 5.2, "label": "文字散成粒子"}, {"start": 6.2, "label": "粒子凝成新字标"}, {"start": 8.2, "label": "进入产品界面"}], "objects": ["旧文字", "粒子群", "新字标", "星形符号", "界面标题"], "rules": ["旧文字解体为粒子,粒子带方向性流动后重组新名称。", "明暗切换帮助分隔旧阶段与新身份。", "字标完成后缩为界面中的品牌入口。"], "transfer": ["适合更名或版本升级;保留旧状态→转化→新身份→可用界面。", "新标题建议短词;粒子字形来自本地替代字体。"], "unknown": ["非原粒子仿真或真实字体路径。", "原字体、音轨同步与原工程缓动未恢复。", "HTML 为动作关系示例,不作为完整原样复刻。"], "brand": "Google", "labels": ["the next chapter", "Gemini", "And now", "And now it's time", "And now it's time for", "the"], "measureTexts": ["the next chapter", "Gemini", "And now"], "coverTime": 5.5, "accent": "#8068c5", "translations": {"en": {"templateName": "A new identity assembled from particles", "summary": "An old statement dissolves into particles that form a new name and interface.", "styleDescription": "Pale lavender, pink-blue particles and clean typography.", "reviewFocus": "Keep the transformation connected to the resulting identity."}}, "guideChapters": {"overview": "让旧名字成为新身份的材料", "composition": "旧文字、粒子与新字标", "motion": "解体、流动、重组", "rhythm": "完成后进入可用界面", "transfer": "给品牌更新一个过渡"}, "creativeSummary": "旧文字解体为粒子,粒子带方向性流动后重组新名称。", "guidePlan": {"intro": "把旧名称拆成一股粒子,让粒子沿同一方向聚成新字标。最终把新字标放进真实可使用的入口。", "sections": [{"title": "明暗区分旧阶段与新身份", "text": ["先用浅紫白底承载旧文字,短暂切黑强化转折。新字标采用粉蓝渐变,粒子继承它的颜色;字形保持开阔、简单,便于形成清楚轮廓。"], "palette": true}, {"title": "粒子承担转化,而非装饰", "text": ["文字解体后先形成有方向的流动,再逐渐靠近新字的位置。新名字可读后减少尾迹,给完整字标留一段稳定时间。"], "demo": "sequence"}, {"title": "从字标回到产品", "text": ["让完整名称缩成界面里的品牌入口,接上问候或主输入框。替换品牌时准备旧短句、新名称和一个产品落点,保持三者字号层级。"]}]}, "templateId": "V018", "name": "Gemini|品牌字标揭晓", "duration": 10.076733, "initialTime": 5.5, "sourceCanvas": {"width": 720, "height": 720}, "actionRange": [3.8, 8.2]};
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.5025, 3.5035]], "samples": [[2.5025, [382.9989030656046, 352.0332990899718]], [3.003, [358.0000007333333, 352.9999996111111]], [3.5035, [267.7790088648867, 325.80110469616113]]], "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": [[2.5025, 3.5035]], "samples": [[2.5025, 88.26636505126953], [3.003, 70.0], [3.5035, 101.83425140380865]], "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": [[2.5025, 3.5035]], "samples": [[2.5025, "the next chapter"], [3.5035, "the next chapter"]], "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.5025, 3.5035]], "samples": [[2.5025, 556.6436767578125], [3.003, 552.0], [3.5035, 542.5856323242188]], "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": [[7.007, 8.5085]], "samples": [[7.007, [374.9999994437501, 351.00000058125]], [7.5075, [373.0000019805143, 353.99999993426474]], [8.008, [372.0000004428571, 351.9999994]], [8.5085, [342.9999995416666, 334.0000002833333]]], "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": [[7.007, 8.5085]], "samples": [[7.007, 186.00000000000006], [7.5075, 185.01861572265625], [8.008, 168.00000000000006], [8.5085, 68.00000000000006]], "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": [[7.007, 8.5085]], "samples": [[7.007, "Gemini"], [8.5085, "Gemini -"]], "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": [[7.007, 8.5085]], "samples": [[7.007, 650.0], [7.5075, 636.4441528320312], [8.008, 588.0], [8.5085, 290.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.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0.5005, 1.5015]], "samples": [[0.5005, [364.9999995274378, 348.99999964843414]], [1.001, [344.00000218461537, 348.99999996153844]], [1.5015, [367.00000008181814, 347.99999970909096]]], "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": [[0.5005, 1.5015]], "samples": [[0.5005, 66.3989868164063], [1.001, 62.0], [1.5015, 63.99999999999994]], "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": [[0.5005, 1.5015]], "samples": [[0.5005, "And now"], [1.001, "And now it's time"], [1.5015, "And now it's time for"]], "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.5005, 1.5015]], "samples": [[0.5005, 294.8961181640625], [1.001, 568.0], [1.5015, 682.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."}]};