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.

5.0 KB
Raw Blame
const CONFIG={"mode": "w1-mosaic-digit", "demoTitle": "4", "palette": ["#000000", "#ffffff", "#5d9cb8", "#b39153", "#7d8879"], "font": "黑底照片马赛克数字、变换边框与锚点", "stages": [{"start": 0, "label": "小比例出现"}, {"start": 0.8, "label": "数字放大"}, {"start": 2, "label": "完整马赛克"}, {"start": 4, "label": "压扁变形"}, {"start": 6.5, "label": "恢复并变窄"}, {"start": 8.5, "label": "恢复原形"}, {"start": 9.6, "label": "缩小退出"}], "objects": ["照片矩阵", "数字轮廓", "包围盒", "控制锚点"], "rules": ["照片块共同组成数字,整体非均匀缩放改变宽高比,内部图块随父变换。", "控制边框与锚点随轮廓变化,强调可编辑性。", "恢复原形后缩小退出,形成一轮展示。"], "transfer": ["替换数字与图片集合;保留整体形变和可编辑边界。", "适合单字符,长文本需重新设计网格。"], "unknown": ["照片未逐块分离;示例用色块表现矩阵。", "原字体、音轨同步与原工程缓动未恢复。", "HTML 为动作关系示例,不作为完整原样复刻。"], "brand": "Google", "labels": ["• 0", "Belaem"], "measureTexts": ["Belaem"], "coverTime": 2.3, "accent": "#5d9cb8", "translations": {"en": {"templateName": "An editable photo-mosaic numeral", "summary": "A photo-filled numeral scales, squashes, stretches and returns to shape.", "styleDescription": "Black background, mosaic imagery and transform handles.", "reviewFocus": "Handles and internal tiles must follow the parent transformation."}}, "guideChapters": {"overview": "用编辑边界展示可塑性", "composition": "马赛克数字与控制点", "motion": "放大、压扁、拉伸、复位", "rhythm": "变化后回到完整轮廓", "transfer": "替换数字与图块内容"}, "creativeSummary": "照片块共同组成数字,整体非均匀缩放改变宽高比,内部图块随父变换。", "guidePlan": {"intro": "用照片块组成一个数字,再通过编辑边界展示它的可塑性。所有变化都发生在同一整体上。", "sections": [{"title": "先让数字轮廓成立", "text": ["黑色背景衬托照片马赛克,图块色彩可以多样,但整体边缘要清楚。数字采用厚实、留白充足的字形;控制框和锚点用细白线。"], "palette": true, "reference": 1}, {"title": "宽高变化时,内部也一起变化", "text": ["整体依次放大、横向压扁、纵向拉长,再回到原比例。图块、包围框和控制点共用同一变换,避免边框与内容脱离。", "复位后再缩小退出,让观众看清这是同一个对象经历的一轮编辑。"], "demo": "sequence"}, {"title": "换成新的图形符号", "text": ["适合单个数字或粗短字母。替换图形符号与图片集合时,先保证缩小后仍能读出外轮廓,再调整图块密度。"]}]}, "templateId": "V019", "name": "Gemini|照片汇聚成数字 4", "duration": 10.033333, "initialTime": 2.3, "sourceCanvas": {"width": 720, "height": 720}, "actionRange": [0.8, 6.5]};
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": [[7.5, 7.5]], "samples": [[7.5, [381.9999998956521, 105.99999997391305]]], "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": [[7.5, 7.5]], "samples": [[7.5, 11.999999999999957]], "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": [[7.5, 7.5]], "samples": [[7.5, "Belaem"]], "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": [[7.5, 7.5]], "samples": [[7.5, 47.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."}]};