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.

19.6 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>适配 iPhone Duo · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#e9e9e1;--brand-ink:#1a1b17;--board-label-ink:#000000;--accent:#afce39;--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">Granola <span>/</span> V138</div><div class="intro-line"><h1>适配 iPhone Duo</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;: 17.016667, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;动作与构图示意&quot;, &quot;initialTime&quot;: 6, &quot;params&quot;: [{&quot;key&quot;: &quot;title&quot;, &quot;label&quot;: &quot;示例主文案&quot;, &quot;type&quot;: &quot;text&quot;, &quot;value&quot;: &quot;Let the conversation unfold.&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;#afce39&quot;}], &quot;presets&quot;: [{&quot;label&quot;: &quot;默认内容&quot;, &quot;values&quot;: {&quot;title&quot;: &quot;Let the conversation unfold.&quot;, &quot;accent&quot;: &quot;#afce39&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="17.016667" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 17.02 秒</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;适配 iPhone Duo · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#e9e9e1}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">Granola</div><div class="type-sample">Let the conversation unfold.</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="#e9e9e1" style="--swatch:#e9e9e1" aria-label="复制色值 #e9e9e1"><span></span><code>#E9E9E1</code></button><button class="swatch" data-color="#1a1b17" style="--swatch:#1a1b17" aria-label="复制色值 #1a1b17"><span></span><code>#1A1B17</code></button><button class="swatch" data-color="#afce39" style="--swatch:#afce39" aria-label="复制色值 #afce39"><span></span><code>#AFCE39</code></button><button class="swatch" data-color="#d4c5cf" style="--swatch:#d4c5cf" aria-label="复制色值 #d4c5cf"><span></span><code>#D4C5CF</code></button><button class="swatch" data-color="#7c8a78" style="--swatch:#7c8a78" aria-label="复制色值 #7c8a78"><span></span><code>#7C8A78</code></button></div></section></aside></div>
<div class="roles"><span class="label">画面元素</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="{&quot;id&quot;: &quot;clip-1&quot;, &quot;title&quot;: &quot;用设备展开解释布局变化&quot;, &quot;src&quot;: &quot;demos/clip-1.html&quot;, &quot;duration&quot;: 3.7, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;2.3–6 秒 · 动作示意&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="3.7" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 3.70 秒</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>2.3–6 秒 · 动作示意 <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;适配 iPhone Duo · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#e9e9e1}canvas{display:block;width:100%;height:100%;object-fit:contain}&lt;/style&gt;&lt;body data-mode=&quot;clip&quot; data-start=&quot;2.3&quot; data-end=&quot;6&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>奶灰背景用小块彩色纸片与手绘箭头点缀四周,黑色设备边框突出屏幕。宣传短句用细衬线,与 UI 小字区分。</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="2.5"><span>2.50<small>s</small></span><b>展开横屏</b></button><button class="beat" data-time="4.5"><span>4.50<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="10.5"><span>10.50<small>s</small></span><b>回到竖屏</b></button><button class="beat" data-time="12.0"><span>12.00<small>s</small></span><b>折叠录音</b></button><button class="beat" data-time="13.6"><span>13.60<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="2.50 秒的构图参考" loading="lazy"><figcaption>2.50s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="4.50 秒的构图参考" loading="lazy"><figcaption>4.50s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="10.50 秒的构图参考" loading="lazy"><figcaption>10.50s</figcaption></figure><figure><img src="assets/reference-5.jpg" alt="12.00 秒的构图参考" loading="lazy"><figcaption>12.00s</figcaption></figure><figure><img src="assets/reference-6.jpg" alt="13.60 秒的构图参考" loading="lazy"><figcaption>13.60s</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>奶灰背景用小块彩色纸片与手绘箭头点缀四周,黑色设备边框突出屏幕。宣传短句用细衬线,与 UI 小字区分。</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>Granola / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># 适配 iPhone Duo

竖屏手机居中进入,转向并展开为横向双栏;列表留在一侧,详情进入另一侧。保持同一条笔记内容贯穿两个画幅。

```motion-demo
{
  &quot;id&quot;: &quot;sequence&quot;,
  &quot;title&quot;: &quot;整体编排&quot;,
  &quot;src&quot;: &quot;demos/sequence.html&quot;,
  &quot;duration&quot;: 17.016667,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;动作与构图示意&quot;,
  &quot;initialTime&quot;: 6,
  &quot;params&quot;: [
    {
      &quot;key&quot;: &quot;title&quot;,
      &quot;label&quot;: &quot;示例主文案&quot;,
      &quot;type&quot;: &quot;text&quot;,
      &quot;value&quot;: &quot;Let the conversation unfold.&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;#afce39&quot;
    }
  ],
  &quot;presets&quot;: [
    {
      &quot;label&quot;: &quot;默认内容&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;Let the conversation unfold.&quot;,
        &quot;accent&quot;: &quot;#afce39&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;: 3.7,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;2.3–6 秒 · 动作示意&quot;,
  &quot;initialTime&quot;: 0.6
}
```

## 纸上拼贴围绕设备,不压住界面

奶灰背景用小块彩色纸片与手绘箭头点缀四周,黑色设备边框突出屏幕。宣传短句用细衬线,与 UI 小字区分。

## 折回设备时保留使用状态

完整笔记后展示折叠设备的录音波形,随后切到绿色品牌页。迁移到其他设备时,把折叠几何和屏幕响应一起设计。

| 时间 | 段落 |
|---|---|
| 0.00–2.50s | 竖屏设备升起 |
| 2.50–4.50s | 展开横屏 |
| 4.50–8.00s | 笔记列表与详情 |
| 8.00–10.50s | 展开短句 |
| 10.50–12.00s | 回到竖屏 |
| 12.00–13.60s | 折叠录音 |
| 13.60–17.02s | 品牌 |

## 配色与字形

浅纸色、手绘箭头与小块拼贴;手机屏幕保留黑框和淡色界面。。

#e9e9e1 · #1a1b17 · #afce39 · #d4c5cf · #7c8a78

## 元素与制作规则

折叠设备 / 列表与详情 / 手绘箭头 / 边缘拼贴 / 衬线短句

- 竖屏手机居中进入,转向并展开为横向双栏;列表留在一侧,详情进入另一侧。保持同一条笔记内容贯穿两个画幅。
- 奶灰背景用小块彩色纸片与手绘箭头点缀四周,黑色设备边框突出屏幕。宣传短句用细衬线,与 UI 小字区分。
- 完整笔记后展示折叠设备的录音波形,随后切到绿色品牌页。迁移到其他设备时,把折叠几何和屏幕响应一起设计。

## 内容替换

- 更换设备和笔记,维持展开与双栏布局同步。

## 制作参数

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

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

```motion-board
{
  &quot;version&quot;: 1,
  &quot;brand&quot;: &quot;Granola&quot;,
  &quot;id&quot;: &quot;V138&quot;,
  &quot;palette&quot;: [
    &quot;#e9e9e1&quot;,
    &quot;#1a1b17&quot;,
    &quot;#afce39&quot;,
    &quot;#d4c5cf&quot;,
    &quot;#7c8a78&quot;
  ],
  &quot;typography&quot;: &quot;浅纸色、手绘箭头与小块拼贴;手机屏幕保留黑框和淡色界面。&quot;,
  &quot;sample&quot;: &quot;Let the conversation unfold.&quot;,
  &quot;objects&quot;: [
    &quot;折叠设备&quot;,
    &quot;列表与详情&quot;,
    &quot;手绘箭头&quot;,
    &quot;边缘拼贴&quot;,
    &quot;衬线短句&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;: 2.5,
      &quot;frameId&quot;: &quot;K0011&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;: 4.5,
      &quot;frameId&quot;: &quot;K0019&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;: 10.5,
      &quot;frameId&quot;: &quot;K0041&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;assets/reference-5.jpg&quot;,
      &quot;timeSeconds&quot;: 12.0,
      &quot;frameId&quot;: &quot;K0048&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;assets/reference-6.jpg&quot;,
      &quot;timeSeconds&quot;: 13.6,
      &quot;frameId&quot;: &quot;K0055&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;: 2.5,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 2.5,
      &quot;label&quot;: &quot;展开横屏&quot;,
      &quot;end&quot;: 4.5,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 4.5,
      &quot;label&quot;: &quot;笔记列表与详情&quot;,
      &quot;end&quot;: 8,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 8,
      &quot;label&quot;: &quot;展开短句&quot;,
      &quot;end&quot;: 10.5,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 10.5,
      &quot;label&quot;: &quot;回到竖屏&quot;,
      &quot;end&quot;: 12,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 12,
      &quot;label&quot;: &quot;折叠录音&quot;,
      &quot;end&quot;: 13.6,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 13.6,
      &quot;label&quot;: &quot;品牌&quot;,
      &quot;end&quot;: 17.016667,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    }
  ],
  &quot;duration&quot;: 17.016667,
  &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>