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.

17.5 KB
Raw Blame
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Framer Agent Templates · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#000000;--brand-ink:#ffffff;--board-label-ink:#ffffff;--accent:#2137f0;--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">Framer <span>/</span> V280</div><div class="intro-line"><h1>Framer Agent Templates</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="{&quot;id&quot;: &quot;sequence&quot;, &quot;title&quot;: &quot;整体编排&quot;, &quot;src&quot;: &quot;demos/sequence.html&quot;, &quot;duration&quot;: 6.5, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;动作与构图示意&quot;, &quot;initialTime&quot;: 4, &quot;params&quot;: [{&quot;key&quot;: &quot;title&quot;, &quot;label&quot;: &quot;示例主文案&quot;, &quot;type&quot;: &quot;text&quot;, &quot;value&quot;: &quot;Agent Templates&quot;, &quot;maxLength&quot;: 60}, {&quot;key&quot;: &quot;accent&quot;, &quot;label&quot;: &quot;强调色&quot;, &quot;type&quot;: &quot;color&quot;, &quot;value&quot;: &quot;#2137f0&quot;}], &quot;presets&quot;: [{&quot;label&quot;: &quot;默认内容&quot;, &quot;values&quot;: {&quot;title&quot;: &quot;Agent Templates&quot;, &quot;accent&quot;: &quot;#2137f0&quot;}}, {&quot;label&quot;: &quot;OpenDesign 改编&quot;, &quot;values&quot;: {&quot;title&quot;: &quot;OpenDesign&quot;, &quot;accent&quot;: &quot;#7050da&quot;}}]}"><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="6.5" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 6.50 秒</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>&lt;!doctype html&gt;&lt;html lang=&quot;zh-CN&quot;&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1&quot;&gt;&lt;title&gt;Framer Agent Templates · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#000000}canvas{display:block;width:100%;height:100%;object-fit:contain}&lt;/style&gt;&lt;body data-mode=&quot;sequence&quot;&gt;&lt;canvas width=&quot;1000&quot; height=&quot;600&quot;&gt;&lt;/canvas&gt;&lt;script src=&quot;data.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;common.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;scene.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;bridge.js&quot;&gt;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;</code></pre></details></figcaption></figure></section><aside class="identity"><section class="type-sheet"><div class="tile-label">字形与层级 <span>字形示意</span></div><div class="type-brand">Framer</div><div class="type-sample">Agent Templates</div><p>黑色画廊底;卡片各有独立字体,名称与 Agent 标签在卡片下方。</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="#000000" style="--swatch:#000000" aria-label="复制色值 #000000"><span></span><code>#000000</code></button><button class="swatch" data-color="#ffffff" style="--swatch:#ffffff" aria-label="复制色值 #ffffff"><span></span><code>#FFFFFF</code></button><button class="swatch" data-color="#2137f0" style="--swatch:#2137f0" aria-label="复制色值 #2137f0"><span></span><code>#2137F0</code></button><button class="swatch" data-color="#d9d9d4" style="--swatch:#d9d9d4" aria-label="复制色值 #d9d9d4"><span></span><code>#D9D9D4</code></button><button class="swatch" data-color="#858585" style="--swatch:#858585" aria-label="复制色值 #858585"><span></span><code>#858585</code></button></div></section></aside></div>
<div class="roles"><span class="label">画面元素</span><span>中央模板缩略图</span><span>左右预览卡</span><span>模板名称</span><span>Agent 徽标</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="{&quot;id&quot;: &quot;clip-1&quot;, &quot;title&quot;: &quot;始终给中央模板最高亮度&quot;, &quot;src&quot;: &quot;demos/clip-1.html&quot;, &quot;duration&quot;: 0.8500000000000001, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;1.15–2 秒 · 动作示意&quot;, &quot;initialTime&quot;: 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="0.8500000000000001" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 0.85 秒</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>1.15–2 秒 · 动作示意 <a href="demos/clip-1.html" target="_blank" rel="noopener">独立打开 ↗</a><details class="demo-source"><summary>查看 HTML 源码</summary><pre><code>&lt;!doctype html&gt;&lt;html lang=&quot;zh-CN&quot;&gt;&lt;meta charset=&quot;utf-8&quot;&gt;&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1&quot;&gt;&lt;title&gt;Framer Agent Templates · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#000000}canvas{display:block;width:100%;height:100%;object-fit:contain}&lt;/style&gt;&lt;body data-mode=&quot;clip&quot; data-start=&quot;1.15&quot; data-end=&quot;2&quot;&gt;&lt;canvas width=&quot;1000&quot; height=&quot;600&quot;&gt;&lt;/canvas&gt;&lt;script src=&quot;data.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;common.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;scene.js&quot;&gt;&lt;/script&gt;&lt;script src=&quot;bridge.js&quot;&gt;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;</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></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="1.3"><span>1.30<small>s</small></span><b>横移到黑色模板</b></button><button class="beat" data-time="3.4"><span>3.40<small>s</small></span><b>横移到白色模板</b></button><button class="beat" data-time="5.5"><span>5.50<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="assets/reference-2.jpg" alt="1.25 秒的构图参考" loading="lazy"><figcaption>1.25s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="3.35 秒的构图参考" loading="lazy"><figcaption>3.35s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="5.47 秒的构图参考" loading="lazy"><figcaption>5.47s</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>中央模板缩略图 / 左右预览卡 / 模板名称 / Agent 徽标</p>
<ul><li>三张模板横排,中央卡完整显示,两侧只露一部分并压暗。切换时整条轨道横向滑动,到位后才恢复中央卡的亮度。</li><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>Framer / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># Framer Agent Templates

三张模板横排,中央卡完整显示,两侧只露一部分并压暗。切换时整条轨道横向滑动,到位后才恢复中央卡的亮度。

```motion-demo
{
  &quot;id&quot;: &quot;sequence&quot;,
  &quot;title&quot;: &quot;整体编排&quot;,
  &quot;src&quot;: &quot;demos/sequence.html&quot;,
  &quot;duration&quot;: 6.5,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;动作与构图示意&quot;,
  &quot;initialTime&quot;: 4,
  &quot;params&quot;: [
    {
      &quot;key&quot;: &quot;title&quot;,
      &quot;label&quot;: &quot;示例主文案&quot;,
      &quot;type&quot;: &quot;text&quot;,
      &quot;value&quot;: &quot;Agent Templates&quot;,
      &quot;maxLength&quot;: 60
    },
    {
      &quot;key&quot;: &quot;accent&quot;,
      &quot;label&quot;: &quot;强调色&quot;,
      &quot;type&quot;: &quot;color&quot;,
      &quot;value&quot;: &quot;#2137f0&quot;
    }
  ],
  &quot;presets&quot;: [
    {
      &quot;label&quot;: &quot;默认内容&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;Agent Templates&quot;,
        &quot;accent&quot;: &quot;#2137f0&quot;
      }
    },
    {
      &quot;label&quot;: &quot;OpenDesign 改编&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;OpenDesign&quot;,
        &quot;accent&quot;: &quot;#7050da&quot;
      }
    }
  ]
}
```

## 始终给中央模板最高亮度

三张模板横排,中央卡完整显示,两侧只露一部分并压暗。切换时整条轨道横向滑动,到位后才恢复中央卡的亮度。

```motion-demo
{
  &quot;id&quot;: &quot;clip-1&quot;,
  &quot;title&quot;: &quot;始终给中央模板最高亮度&quot;,
  &quot;src&quot;: &quot;demos/clip-1.html&quot;,
  &quot;duration&quot;: 0.8500000000000001,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;1.15–2 秒 · 动作示意&quot;,
  &quot;initialTime&quot;: 0.6
}
```

## 边框统一,内容允许有个性

卡片使用同一圆角和相同尺寸,内部保留蓝白大字、黑底作品集和衬线白页三种风格。名称与徽标固定在相同基线上。

## 增加模板时延长轨道

替换缩略图、名称和作者即可;每张留读时间应明显长于滑动时间,首尾排列能自然回到第一张。

## 配色与字形

黑色画廊底;卡片各有独立字体,名称与 Agent 标签在卡片下方。。

#000000 · #ffffff · #2137f0 · #d9d9d4 · #858585

## 元素与制作规则

中央模板缩略图 / 左右预览卡 / 模板名称 / Agent 徽标

- 三张模板横排,中央卡完整显示,两侧只露一部分并压暗。切换时整条轨道横向滑动,到位后才恢复中央卡的亮度。
- 卡片使用同一圆角和相同尺寸,内部保留蓝白大字、黑底作品集和衬线白页三种风格。名称与徽标固定在相同基线上。
- 替换缩略图、名称和作者即可;每张留读时间应明显长于滑动时间,首尾排列能自然回到第一张。

## 内容替换

- 更换三张网页作品,保持尺寸、中央聚焦和循环节奏。

## 制作参数

[视觉与对象](style.json) · [段落时序](timeline.json) · [位置数据](tracks.json) · [文件清单](manifest.json)

此规范根据参考视频整理。HTML 为可编辑的编排示例;具体数据的来源、精度与有效区间随文件标注。

```motion-board
{
  &quot;version&quot;: 1,
  &quot;brand&quot;: &quot;Framer&quot;,
  &quot;id&quot;: &quot;V280&quot;,
  &quot;palette&quot;: [
    &quot;#000000&quot;,
    &quot;#ffffff&quot;,
    &quot;#2137f0&quot;,
    &quot;#d9d9d4&quot;,
    &quot;#858585&quot;
  ],
  &quot;typography&quot;: &quot;黑色画廊底;卡片各有独立字体,名称与 Agent 标签在卡片下方。&quot;,
  &quot;sample&quot;: &quot;Agent Templates&quot;,
  &quot;objects&quot;: [
    &quot;中央模板缩略图&quot;,
    &quot;左右预览卡&quot;,
    &quot;模板名称&quot;,
    &quot;Agent 徽标&quot;
  ],
  &quot;frames&quot;: [
    {
      &quot;path&quot;: &quot;assets/reference-1.jpg&quot;,
      &quot;timeSeconds&quot;: 0.0,
      &quot;frameId&quot;: &quot;K0001&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;assets/reference-2.jpg&quot;,
      &quot;timeSeconds&quot;: 1.25,
      &quot;frameId&quot;: &quot;K0003&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;assets/reference-3.jpg&quot;,
      &quot;timeSeconds&quot;: 3.35,
      &quot;frameId&quot;: &quot;K0008&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;assets/reference-4.jpg&quot;,
      &quot;timeSeconds&quot;: 5.466666666666667,
      &quot;frameId&quot;: &quot;K0014&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    }
  ],
  &quot;stages&quot;: [
    {
      &quot;start&quot;: 0,
      &quot;label&quot;: &quot;蓝色模板居中&quot;,
      &quot;end&quot;: 1.3,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 1.3,
      &quot;label&quot;: &quot;横移到黑色模板&quot;,
      &quot;end&quot;: 3.4,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 3.4,
      &quot;label&quot;: &quot;横移到白色模板&quot;,
      &quot;end&quot;: 5.5,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 5.5,
      &quot;label&quot;: &quot;循环回蓝色模板&quot;,
      &quot;end&quot;: 6.5,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    }
  ],
  &quot;duration&quot;: 6.5,
  &quot;fontFamily&quot;: &quot;Arial, sans-serif&quot;
}
```
</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>