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.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
const CONFIG={"mode": "w2-planet-carousel", "demoTitle": "Comet planets", "palette": ["#faf8ef", "#172b2c", "#347c89", "#c86931", "#90754b"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "星球横排"}, {"start": 1.0, "label": "聚焦首对象"}, {"start": 4.0, "label": "队列向左"}, {"start": 6.0, "label": "聚焦木星"}, {"start": 9.0, "label": "聚焦土星"}, {"start": 12.0, "label": "队列回移"}, {"start": 14.0, "label": "回到初态"}], "objects": ["顶部导航", "星球队列", "活动星球", "名称与入口", "背景圆角图块", "细轨道"], "rules": ["球体沿同一水平轴滑动,视口裁剪两侧,活动球体轻微放大并出现文字", "球面纹理持续旋转,队列平移与自转是独立运动", "末段回到原队列位置,形成可循环浏览"], "transfer": ["可迁移为多产品浏览,保留对象队列、焦点状态、名称与入口", "纹理可替换成产品外观,静态背景不随队列同速移动"], "unknown": ["球体3D光照、纹理UV与真实材质未逆向;Canvas采用程序纹理近似。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Features", "FAQS", "Download"], "coverTime": 4.8, "labels": ["星球横排", "聚焦首对象", "队列向左", "聚焦木星", "聚焦土星", "队列回移", "回到初态"], "brand": "Perplexity", "accent": "#347c89", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Focusable planet carousel", "summary": "A horizontal planet queue changes focus while each textured sphere rotates independently.", "styleDescription": "Warm white field, muted orbital backgrounds and richly colored spherical items.", "reviewFocus": "Separate carousel translation, object spin and focus states."}}, "creativeSummary": "球体沿同一水平轴滑动,视口裁剪两侧,活动球体轻微放大并出现文字。球面纹理持续旋转,队列平移与自转是独立运动。", "guideChapters": {"overview": "让一排对象支持聚焦浏览", "composition": "对象队列与稳定背景", "motion": "队列平移、球体自转与放大", "rhythm": "活动项停留,其余持续运动", "transfer": "换对象保留焦点规则"}, "guidePlan": {"intro": "用一条横向星球队列做可聚焦的浏览。队列平移、球体自转和焦点放大彼此独立,背景保持安静。", "sections": [{"title": "让对象沿同一条轴排列", "text": ["球体围绕同一水平中线排列,尺寸略有不同,两侧对象可以被视口自然裁切。顶部导航、角落图块与细轨道固定在背景层,不随队列同速移动。", "暖白底、深青文字与低饱和背景形成留白,球面纹理承担主要色彩。对象名称用短小清楚的字形,次级入口比名称更轻。"], "palette": true, "demo": "sequence"}, {"title": "焦点变化不等于队列停摆", "text": ["队列向侧边滑动时,各球体继续缓慢自转。进入焦点区域的对象轻微放大,名称和入口随后浮现;离开焦点时文字先退,尺寸再回到常态。", "避免所有球体同时弹跳或同时出现名称。大幅动作只给队列换位,小幅动作留给旋转和焦点反馈。"]}, {"title": "循环与内容替换", "text": ["末段沿合理方向回到初始排列,保持间距与运动速度衔接。替换为产品、专辑或功能集合时,为每项准备独立外观与名称,保留稳定背景、移动队列和单一焦点。"]}]}, "templateId": "V077", "name": "Comet|一排星球", "duration": 15.2, "initialTime": 4.8, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [1.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": [[0, 15]], "samples": [[0, [830.2325594862314, 50.232558019437185]], [15, [830.2325594876991, 50.232558037219796]]], "maxCompressionErrorVsObservations": 1.4953208449242084e-08, "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, 15]], "samples": [[0, 18.366401672363267], [15, 17.30142784118651]], "maxCompressionErrorVsObservations": 0.8954671859740841, "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, 15]], "samples": [[0, "Features"], [15, "Features"]], "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, 15]], "samples": [[0, 81.25022888183605], [15, 81.04367828369129]], "maxCompressionErrorVsObservations": 0.17329177856454692, "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, 15]], "samples": [[0, [954.4186039069768, 48.837208976744186]], [15, [954.4186039069768, 48.837208976744186]]], "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": [[0, 15]], "samples": [[0, 19.534883499145437], [15, 19.534883499145437]], "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": [[0, 15]], "samples": [[0, "FAQS"], [15, "FAQS"]], "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, 15]], "samples": [[0, 50.2325553894043], [15, 50.2325553894043]], "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, 15]], "samples": [[0, [1085.5813968372095, 48.83720916279073]], [15, [1085.5813968372095, 48.83720916279073]]], "maxCompressionErrorVsObservations": 3.7209315451036673e-07, "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, 15]], "samples": [[0, 13.95348834991455], [15, 13.95348834991455]], "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, 15]], "samples": [[0, "Download"], [15, "Download"]], "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, 15]], "samples": [[0, 89.30232238769531], [15, 89.30232238769531]], "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."}]};