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.

18.8 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>Loops 能按星期跑 · 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> V113</div><div class="intro-line"><h1>Loops 能按星期跑</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;: 15.966667, &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;Engineering meeting prep&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;Engineering meeting prep&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="15.966667" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 15.97 秒</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;Loops 能按星期跑 · 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">Engineering meeting prep</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 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;: 10, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;2–12 秒 · 动作示意&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="10" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 10.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>2–12 秒 · 动作示意 <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;Loops 能按星期跑 · 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;clip&quot; data-start=&quot;2&quot; data-end=&quot;12&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 class="table-wrap"><table><thead><tr><th>控件</th><th>摘要需要承接的信息</th></tr></thead><tbody>
<tr><td>周期</td><td>每隔多少周</td></tr>
<tr><td>星期集合</td><td>选择哪些工作日</td></tr>
<tr><td>时间</td><td>具体时刻</td></tr>
<tr><td>启用状态</td><td>规则是否生效</td></tr>
</tbody></table></div>
</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="2.0"><span>2.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="9.0"><span>9.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></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.00 秒的构图参考" loading="lazy"><figcaption>2.00s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="4.00 秒的构图参考" loading="lazy"><figcaption>4.00s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="9.00 秒的构图参考" loading="lazy"><figcaption>9.00s</figcaption></figure><figure><img src="assets/reference-5.jpg" alt="12.00 秒的构图参考" loading="lazy"><figcaption>12.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># Loops 能按星期跑

一次设置依次确定周期、星期和时间,最后用自然语言确认结果。重点是表单状态的持续与组合。

```motion-demo
{
  &quot;id&quot;: &quot;sequence&quot;,
  &quot;title&quot;: &quot;整体编排&quot;,
  &quot;src&quot;: &quot;demos/sequence.html&quot;,
  &quot;duration&quot;: 15.966667,
  &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;Engineering meeting prep&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;Engineering meeting prep&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;
      }
    }
  ]
}
```

## 选了周期,再出现对应日期选项

先打开周期菜单并选周周期,再展示星期多选。已选星期持续高亮,新增选择不清掉已有项;时间菜单在日期确定后进入。

```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;: 10,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;2–12 秒 · 动作示意&quot;,
  &quot;initialTime&quot;: 0.6
}
```

## 保存总览把规则读成一句话

保存后收起设置面板,用一句自然语言概括周期、星期和时刻。摘要使用与控件一致的值,任务名称仍保留在父容器内,说明这些设置属于哪项工作。

| 控件 | 摘要需要承接的信息 |
| --- | --- |
| 周期 | 每隔多少周 |
| 星期集合 | 选择哪些工作日 |
| 时间 | 具体时刻 |
| 启用状态 | 规则是否生效 |

## 深色表单中只强调选择

暗灰面板、浅色无衬线文字与冷紫选中态组成界面。星期按钮等距排布,菜单靠近触发控件;任务标题略重于字段,选择颜色不要被背景装饰重复使用。

## 更换任务时保留设置依赖

可改成报告、提醒或例行检查。任务名称、频率、日期和最终摘要一起更新;若改成每日或每月,日期控件也应随周期变化。

## 配色与字形

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

#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;V113&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;Engineering meeting prep&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.0,
      &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;: 4.0,
      &quot;frameId&quot;: &quot;K0006&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;: 9.0,
      &quot;frameId&quot;: &quot;K0012&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;K0016&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,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 2,
      &quot;label&quot;: &quot;周期菜单&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;选择星期&quot;,
      &quot;end&quot;: 9,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 9,
      &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;: 15.966667,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    }
  ],
  &quot;duration&quot;: 15.966667,
  &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>