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.

15.4 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>Linear — custom environments in coding sessions · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#090a0c;--brand-ink:#e9e9e8;--accent:#6970c6;--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">Linear <span>/</span> V112</div><div class="intro-line"><h1>Linear — custom environments in coding sessions</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.166667, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;动作与构图示意&quot;, &quot;initialTime&quot;: 8, &quot;params&quot;: [{&quot;key&quot;: &quot;title&quot;, &quot;label&quot;: &quot;示例主文案&quot;, &quot;type&quot;: &quot;text&quot;, &quot;value&quot;: &quot;Custom environments&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;#6970c6&quot;}], &quot;presets&quot;: [{&quot;label&quot;: &quot;默认内容&quot;, &quot;values&quot;: {&quot;title&quot;: &quot;Custom environments&quot;, &quot;accent&quot;: &quot;#6970c6&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.166667" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 17.17 秒</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;Linear — custom environments in coding sessions · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#090a0c}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">Linear</div><div class="type-sample">Custom environments</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="#090a0c" style="--swatch:#090a0c" aria-label="复制色值 #090a0c"><span></span><code>#090A0C</code></button><button class="swatch" data-color="#e9e9e8" style="--swatch:#e9e9e8" aria-label="复制色值 #e9e9e8"><span></span><code>#E9E9E8</code></button><button class="swatch" data-color="#6970c6" style="--swatch:#6970c6" aria-label="复制色值 #6970c6"><span></span><code>#6970C6</code></button><button class="swatch" data-color="#30333c" style="--swatch:#30333c" aria-label="复制色值 #30333c"><span></span><code>#30333C</code></button><button class="swatch" data-color="#ffffff" style="--swatch:#ffffff" aria-label="复制色值 #ffffff"><span></span><code>#FFFFFF</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 text-only" id="section-1"><div class="rule-label"><span>01</span><h2>一张卡读完,再交给下一张</h2></div><div class="rule-copy">
<p>Web、Go 和数据服务配置依次成为前景。名称、运行时和变量保持在同一张卡内,前景卡更亮、更清楚,后景卡降低对比;透视方向一致,不能每切一张就翻转空间。</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>Web 配置卡</b></button><button class="beat" data-time="4.0"><span>4.00<small>s</small></span><b>Go 配置卡</b></button><button class="beat" data-time="8.0"><span>8.00<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="16.0"><span>16.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="assets/reference-2.jpg" alt="4.00 秒的构图参考" loading="lazy"><figcaption>4.00s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="8.00 秒的构图参考" loading="lazy"><figcaption>8.00s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="12.00 秒的构图参考" loading="lazy"><figcaption>12.00s</figcaption></figure><figure><img src="assets/reference-5.jpg" alt="16.00 秒的构图参考" loading="lazy"><figcaption>16.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>Linear / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># Linear — custom environments in coding sessions

用一组倾斜环境卡展示不同运行配置。焦点在卡片间交接,最后退去卡片,只留下能力主张。

```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.166667,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;动作与构图示意&quot;,
  &quot;initialTime&quot;: 8,
  &quot;params&quot;: [
    {
      &quot;key&quot;: &quot;title&quot;,
      &quot;label&quot;: &quot;示例主文案&quot;,
      &quot;type&quot;: &quot;text&quot;,
      &quot;value&quot;: &quot;Custom environments&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;#6970c6&quot;
    }
  ],
  &quot;presets&quot;: [
    {
      &quot;label&quot;: &quot;默认内容&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;Custom environments&quot;,
        &quot;accent&quot;: &quot;#6970c6&quot;
      }
    },
    {
      &quot;label&quot;: &quot;OpenDesign 改编&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;OpenDesign&quot;,
        &quot;accent&quot;: &quot;#7050da&quot;
      }
    }
  ]
}
```

## 一张卡读完,再交给下一张

Web、Go 和数据服务配置依次成为前景。名称、运行时和变量保持在同一张卡内,前景卡更亮、更清楚,后景卡降低对比;透视方向一致,不能每切一张就翻转空间。

## 暗色卡组靠层次而非装饰分开

接近黑色的背景与深灰卡片之间留出明度差,冷紫用于选中与细节。主标题采用中粗无衬线,运行时与变量可用等宽字;卡片的倾斜程度以仍能阅读字段为限。

## 为每个环境准备完整的三层内容

替换技术栈时同时更新环境名、运行时和配置值,保持相同的字段位置。最后一张卡退出后再给总结句,结束页只保留品牌或能力主张。

## 配色与字形

无衬线中粗主标题;细边框界面与小号功能文字。

#090a0c · #e9e9e8 · #6970c6 · #30333c · #ffffff

## 元素与制作规则

环境卡组 / 代理标签 / 运行时 / 环境变量 / 景深

- 暗色卡片以倾斜近景逐张展示,卡片内各环境字段保持关联。
- 前后卡片明暗区分焦点,最后卡片退去只留主张。

## 内容替换

- 可换技术环境;每张卡保留名称、运行时、配置三个层级。

## 制作参数

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

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

```motion-board
{
  &quot;version&quot;: 1,
  &quot;brand&quot;: &quot;Linear&quot;,
  &quot;id&quot;: &quot;V112&quot;,
  &quot;palette&quot;: [
    &quot;#090a0c&quot;,
    &quot;#e9e9e8&quot;,
    &quot;#6970c6&quot;,
    &quot;#30333c&quot;,
    &quot;#ffffff&quot;
  ],
  &quot;typography&quot;: &quot;无衬线中粗主标题;细边框界面与小号功能文字&quot;,
  &quot;sample&quot;: &quot;Custom environments&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;: 4.0,
      &quot;frameId&quot;: &quot;K0017&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;: 8.0,
      &quot;frameId&quot;: &quot;K0033&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;: 12.0,
      &quot;frameId&quot;: &quot;K0049&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;: 16.0,
      &quot;frameId&quot;: &quot;K0060&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;Web 配置卡&quot;,
      &quot;end&quot;: 4,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 4,
      &quot;label&quot;: &quot;Go 配置卡&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;: 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;: 16,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 16,
      &quot;label&quot;: &quot;品牌&quot;,
      &quot;end&quot;: 17.166667,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    }
  ],
  &quot;duration&quot;: 17.166667,
  &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>