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
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Figma × Codex · 设计与实现交接 · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#161616;--brand-ink:#f6f6ef;--accent:#96d93c;--sample-font:Arial, sans-serif">
<header class="shell"><a class="wordmark" href="#">ııı <strong>motion</strong><span>.md</span></a><span class="shell-divider"></span><span class="shell-name">视频风格规范</span><nav><button class="tab active" data-tab="board">样式板</button><button class="tab" data-tab="source">motion.md</button><a href="motion.md" download>下载文档 ↗</a></nav></header>
<main id="board-view"><header class="intro"><div class="kicker">Figma <span>/</span> V273</div><div class="intro-line"><h1>Figma × Codex · 设计与实现交接</h1><button id="allPause" class="quiet">播放编排 ▷</button></div><div class="intro-copy"><p>将选中的设计和批注交给实现代理,再用对应屏幕的运行结果完成交接。重点是让人看清“传了什么”。</p></div></header>
<div class="overview"><section class="hero"><div class="tile-label">构图与编排 <span>可播放 · 可替换内容</span></div><figure class="demo" id="demo-sequence" data-demo="{"id": "sequence", "title": "整体编排", "src": "demos/sequence.html", "duration": 40.0, "status": "authored", "description": "动作与构图示意", "initialTime": 8, "params": [{"key": "title", "label": "示例主文案", "type": "text", "value": "Design to implementation", "maxLength": 60}, {"key": "accent", "label": "强调色", "type": "color", "value": "#96d93c"}], "presets": [{"label": "默认内容", "values": {"title": "Design to implementation", "accent": "#96d93c"}}, {"label": "OpenDesign 改编", "values": {"title": "OpenDesign", "accent": "#7050da"}}]}"><div class="demo-heading"><span>整体编排</span><span class="status">规则示例</span></div><div class="demo-stage"><iframe loading="eager" sandbox="allow-scripts" title="整体编排" data-src="demos/sequence.html"></iframe></div><div class="demo-controls"><button class="play" type="button" disabled>播放</button><button class="reset" type="button" disabled aria-label="从头播放">↺</button><input class="seek" type="range" min="0" max="40.0" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 40.00 秒</output><select class="speed" aria-label="播放速度"><option value="1">1×</option><option value="0.5">0.5×</option><option value="0.25">0.25×</option></select></div><div class="demo-params"></div><figcaption>动作与构图示意 <a href="demos/sequence.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code><!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Dev Mode, now in Codex.
Available in the Figma plugin. https://t.co/opHvrMftNZ · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#161616}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="sequence"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html></code></pre></details></figcaption></figure></section><aside class="identity"><section class="type-sheet"><div class="tile-label">字形与层级 <span>字形示意</span></div><div class="type-brand">Figma</div><div class="type-sample">Design to implementation</div><p>无衬线中粗主标题;细边框界面与小号功能文字</p><div class="type-baseline"></div></section><section class="palette"><div class="tile-label">配色 <span>点击复制色值</span></div><div class="swatches"><button class="swatch" data-color="#161616" style="--swatch:#161616" aria-label="复制色值 #161616"><span></span><code>#161616</code></button><button class="swatch" data-color="#f6f6ef" style="--swatch:#f6f6ef" aria-label="复制色值 #f6f6ef"><span></span><code>#F6F6EF</code></button><button class="swatch" data-color="#96d93c" style="--swatch:#96d93c" aria-label="复制色值 #96d93c"><span></span><code>#96D93C</code></button><button class="swatch" data-color="#8d56d7" style="--swatch:#8d56d7" aria-label="复制色值 #8d56d7"><span></span><code>#8D56D7</code></button><button class="swatch" data-color="#f56c3d" style="--swatch:#f56c3d" aria-label="复制色值 #f56c3d"><span></span><code>#F56C3D</code></button></div></section></aside></div>
<div class="roles"><span class="label">画面元素</span><span>代理入口</span><span>设计帧</span><span>批注</span><span>选择计数</span><span>实现请求</span><span>运行预览</span></div>
<div class="board-heading"><div><span class="eyebrow">MOTION LANGUAGE</span><h2>动作与构图</h2></div><p>局部动作 · 构图规则</p></div><div class="rule-grid"><section class="rule has-demo" id="section-1"><div class="rule-label"><span>01</span><h2>设计与批注先准备好</h2></div><figure class="demo" id="demo-clip-1" data-demo="{"id": "clip-1", "title": "设计与批注先准备好", "src": "demos/clip-1.html", "duration": 17, "status": "authored", "description": "4–21 秒 · 动作示意", "initialTime": 0.6}"><div class="demo-heading"><span>设计与批注先准备好</span><span class="status">规则示例</span></div><div class="demo-stage"><iframe loading="eager" sandbox="allow-scripts" title="设计与批注先准备好" data-src="demos/clip-1.html"></iframe></div><div class="demo-controls"><button class="play" type="button" disabled>播放</button><button class="reset" type="button" disabled aria-label="从头播放">↺</button><input class="seek" type="range" min="0" max="17" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 17.00 秒</output><select class="speed" aria-label="播放速度"><option value="1">1×</option><option value="0.5">0.5×</option><option value="0.25">0.25×</option></select></div><div class="demo-params"></div><figcaption>4–21 秒 · 动作示意 <a href="demos/clip-1.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code><!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Dev Mode, now in Codex.
Available in the Figma plugin. https://t.co/opHvrMftNZ · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#161616}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="4" data-end="21"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html></code></pre></details></figcaption></figure><div class="rule-copy">
<p>从代理入口进入设计工具,展示多帧设计与批注。选中时保留清楚的外框和计数,提交按钮附近再次显示引用对象,避免选择在切镜时丢失。</p>
</div></section><section class="rule text-only" id="section-2"><div class="rule-label"><span>02</span><h2>实现结果对应选中的屏幕</h2></div><div class="rule-copy">
<p>提交请求后依次交代设计变量、组件和运行结果。预览中使用相同的页面结构与核心文本,让选择的三帧与最终结果能够逐一对应。</p>
</div></section><section class="rule text-only" id="section-3"><div class="rule-label"><span>03</span><h2>把交接焦点放大</h2></div><div class="rule-copy">
<p>深灰外层和明亮画布保持层次,绿、紫、橙用于选中、批注和界面示例。标题用中粗无衬线,计数和引用用清楚的小号字;选择数、批注和提交动作采用局部近景。</p>
</div></section><section class="rule text-only" id="section-4"><div class="rule-label"><span>04</span><h2>可换工具,不能丢掉上下文</h2></div><div class="rule-copy">
<p>替换开发代理、设计帧、批注和实现结果时保持同一套页面。请求文字明确引用选中对象,联名结束页只负责说明工具关系,不替代实际交接过程。</p>
</div></section></div>
<section class="timeline-sheet" id="timing"><div class="board-heading"><div><span class="eyebrow">SEQUENCE</span><h2>段落与节奏</h2></div><p>点击段落,定位到上方编排示意。</p></div><div class="beats"><button class="beat" data-time="0.0"><span>0.00<small>s</small></span><b>代理侧栏</b></button><button class="beat" data-time="4.0"><span>4.00<small>s</small></span><b>打开设计工具</b></button><button class="beat" data-time="8.0"><span>8.00<small>s</small></span><b>多帧设计</b></button><button class="beat" data-time="11.0"><span>11.00<small>s</small></span><b>批注</b></button><button class="beat" data-time="17.0"><span>17.00<small>s</small></span><b>选中三帧</b></button><button class="beat" data-time="21.0"><span>21.00<small>s</small></span><b>提交实现请求</b></button><button class="beat" data-time="25.0"><span>25.00<small>s</small></span><b>设计变量与组件</b></button><button class="beat" data-time="29.0"><span>29.00<small>s</small></span><b>运行结果</b></button><button class="beat" data-time="35.0"><span>35.00<small>s</small></span><b>品牌联名</b></button></div><div class="filmstrip"><figure><img src="assets/reference-1.jpg" alt="0.00 秒的构图参考" loading="lazy"><figcaption>0.00s</figcaption></figure><figure><img src="https://r.open-design.ai/files/4f57bd3e65d75ca094611486e8be5abcf0410b1f9fac16fa78b8d69d92aaa489" alt="8.00 秒的构图参考" loading="lazy"><figcaption>8.00s</figcaption></figure><figure><img src="https://r.open-design.ai/files/72310ec3fb4a4e7cf533b24f9ce1dfe75192475fdfb6b488a8f566b9639c0651" alt="11.00 秒的构图参考" loading="lazy"><figcaption>11.00s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="21.00 秒的构图参考" loading="lazy"><figcaption>21.00s</figcaption></figure><figure><img src="assets/reference-5.jpg" alt="25.00 秒的构图参考" loading="lazy"><figcaption>25.00s</figcaption></figure><figure><img src="assets/reference-6.jpg" alt="35.00 秒的构图参考" loading="lazy"><figcaption>35.00s</figcaption></figure></div><p class="tiny">画面参考 · 离散静帧</p></section>
<section class="production"><div><span class="eyebrow">KEEP THE RELATIONSHIPS</span><h2>制作其他主题</h2>
<ul><li>可换开发工具;保留设计对象与实现产物一一对应。</li></ul>
</div><div class="production-rules"><h3>制作约束</h3>
<p>代理入口 / 设计帧 / 批注 / 选择计数 / 实现请求 / 运行预览</p>
<ul><li>先带着批注选择设计帧,再把选中上下文交给实现代理;实现结果对应选中的屏幕。</li><li>近景突出选择数与引用,避免观众不知道传了什么。</li></ul>
</div></section>
<footer>
<p><a href="style.json">视觉与对象</a> · <a href="timeline.json">段落时序</a> · <a href="tracks.json">位置数据</a> · <a href="manifest.json">文件清单</a></p>
<p>此规范根据参考视频整理。HTML 为可编辑的编排示例;具体数据的来源、精度与有效区间随文件标注。</p><span>Figma / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># Figma × Codex · 设计与实现交接
将选中的设计和批注交给实现代理,再用对应屏幕的运行结果完成交接。重点是让人看清“传了什么”。
```motion-demo
{
"id": "sequence",
"title": "整体编排",
"src": "demos/sequence.html",
"duration": 40.0,
"status": "authored",
"description": "动作与构图示意",
"initialTime": 8,
"params": [
{
"key": "title",
"label": "示例主文案",
"type": "text",
"value": "Design to implementation",
"maxLength": 60
},
{
"key": "accent",
"label": "强调色",
"type": "color",
"value": "#96d93c"
}
],
"presets": [
{
"label": "默认内容",
"values": {
"title": "Design to implementation",
"accent": "#96d93c"
}
},
{
"label": "OpenDesign 改编",
"values": {
"title": "OpenDesign",
"accent": "#7050da"
}
}
]
}
```
## 设计与批注先准备好
从代理入口进入设计工具,展示多帧设计与批注。选中时保留清楚的外框和计数,提交按钮附近再次显示引用对象,避免选择在切镜时丢失。
```motion-demo
{
"id": "clip-1",
"title": "设计与批注先准备好",
"src": "demos/clip-1.html",
"duration": 17,
"status": "authored",
"description": "4–21 秒 · 动作示意",
"initialTime": 0.6
}
```
## 实现结果对应选中的屏幕
提交请求后依次交代设计变量、组件和运行结果。预览中使用相同的页面结构与核心文本,让选择的三帧与最终结果能够逐一对应。
| 时间 | 段落 |
|---|---|
| 0.00–4.00s | 代理侧栏 |
| 4.00–8.00s | 打开设计工具 |
| 8.00–11.00s | 多帧设计 |
| 11.00–17.00s | 批注 |
| 17.00–21.00s | 选中三帧 |
| 21.00–25.00s | 提交实现请求 |
| 25.00–29.00s | 设计变量与组件 |
| 29.00–35.00s | 运行结果 |
| 35.00–40.00s | 品牌联名 |
## 把交接焦点放大
深灰外层和明亮画布保持层次,绿、紫、橙用于选中、批注和界面示例。标题用中粗无衬线,计数和引用用清楚的小号字;选择数、批注和提交动作采用局部近景。
## 可换工具,不能丢掉上下文
替换开发代理、设计帧、批注和实现结果时保持同一套页面。请求文字明确引用选中对象,联名结束页只负责说明工具关系,不替代实际交接过程。
## 配色与字形
无衬线中粗主标题;细边框界面与小号功能文字。
#161616 · #f6f6ef · #96d93c · #8d56d7 · #f56c3d
## 元素与制作规则
代理入口 / 设计帧 / 批注 / 选择计数 / 实现请求 / 运行预览
- 先带着批注选择设计帧,再把选中上下文交给实现代理;实现结果对应选中的屏幕。
- 近景突出选择数与引用,避免观众不知道传了什么。
## 内容替换
- 可换开发工具;保留设计对象与实现产物一一对应。
## 制作参数
[视觉与对象](style.json) · [段落时序](timeline.json) · [位置数据](tracks.json) · [文件清单](manifest.json)
此规范根据参考视频整理。HTML 为可编辑的编排示例;具体数据的来源、精度与有效区间随文件标注。
```motion-board
{
"version": 1,
"brand": "Figma",
"id": "V273",
"palette": [
"#161616",
"#f6f6ef",
"#96d93c",
"#8d56d7",
"#f56c3d"
],
"typography": "无衬线中粗主标题;细边框界面与小号功能文字",
"sample": "Design to implementation",
"objects": [
"代理入口",
"设计帧",
"批注",
"选择计数",
"实现请求",
"运行预览"
],
"frames": [
{
"path": "assets/reference-1.jpg",
"timeSeconds": 0.0,
"frameId": "K0001",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "https://r.open-design.ai/files/4f57bd3e65d75ca094611486e8be5abcf0410b1f9fac16fa78b8d69d92aaa489",
"timeSeconds": 8.0,
"frameId": "K0027",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "https://r.open-design.ai/files/72310ec3fb4a4e7cf533b24f9ce1dfe75192475fdfb6b488a8f566b9639c0651",
"timeSeconds": 11.0,
"frameId": "K0037",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-4.jpg",
"timeSeconds": 21.0,
"frameId": "K0071",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-5.jpg",
"timeSeconds": 25.0,
"frameId": "K0085",
"role": "reference-evidence",
"status": "measured"
},
{
"path": "assets/reference-6.jpg",
"timeSeconds": 35.0,
"frameId": "K0121",
"role": "reference-evidence",
"status": "measured"
}
],
"stages": [
{
"start": 0,
"label": "代理侧栏",
"end": 4,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 4,
"label": "打开设计工具",
"end": 8,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 8,
"label": "多帧设计",
"end": 11,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 11,
"label": "批注",
"end": 17,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 17,
"label": "选中三帧",
"end": 21,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 21,
"label": "提交实现请求",
"end": 25,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 25,
"label": "设计变量与组件",
"end": 29,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 29,
"label": "运行结果",
"end": 35,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
},
{
"start": 35,
"label": "品牌联名",
"end": 40.0,
"status": "inferred",
"basis": "Representative-frame review; approximate boundaries"
}
],
"duration": 40.0,
"fontFamily": "Arial, sans-serif"
}
```
</pre></section><div class="toast" role="status" aria-live="polite"></div><script src="viewer/guide.js"></script><script src="viewer/board.js"></script></body></html>