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.0 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>导入项目和网站 · motion.md</title><link rel="stylesheet" href="viewer/guide.css"><link rel="stylesheet" href="viewer/board.css"></head>
<body style="--paper:#101013;--brand-ink:#ffffff;--accent:#ed3b99;--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">Lovable <span>/</span> V043</div><div class="intro-line"><h1>导入项目和网站</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;: 11.666667, &quot;status&quot;: &quot;authored&quot;, &quot;description&quot;: &quot;动作与构图示意&quot;, &quot;initialTime&quot;: 3.7, &quot;params&quot;: [{&quot;key&quot;: &quot;title&quot;, &quot;label&quot;: &quot;示例主文案&quot;, &quot;type&quot;: &quot;text&quot;, &quot;value&quot;: &quot;Import your project&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;#ed3b99&quot;}], &quot;presets&quot;: [{&quot;label&quot;: &quot;默认内容&quot;, &quot;values&quot;: {&quot;title&quot;: &quot;Import your project&quot;, &quot;accent&quot;: &quot;#ed3b99&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="11.666667" step="0.0166667" value="0" aria-label="动画时间" disabled><output>0.00 / 11.67 秒</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;导入项目和网站 · sequence&lt;/title&gt;&lt;style&gt;html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101013}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">Lovable</div><div class="type-sample">Import your project</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="#101013" style="--swatch:#101013" aria-label="复制色值 #101013"><span></span><code>#101013</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="#ed3b99" style="--swatch:#ed3b99" aria-label="复制色值 #ed3b99"><span></span><code>#ED3B99</code></button><button class="swatch" data-color="#778df2" style="--swatch:#778df2" aria-label="复制色值 #778df2"><span></span><code>#778DF2</code></button><button class="swatch" data-color="#fb6740" style="--swatch:#fb6740" aria-label="复制色值 #fb6740"><span></span><code>#FB6740</code></button></div></section></aside></div>
<div class="roles"><span class="label">画面元素</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>网站视窗沿水平方向切换,前景视窗清晰,左右邻项只露出一部分。底部输入条固定在同一位置;网站变化时,观众不用重新寻找操作入口。</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>
<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>
<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.0"><span>1.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="5.8"><span>5.80<small>s</small></span><b>代码仓库</b></button><button class="beat" data-time="8.6"><span>8.60<small>s</small></span><b>电商网站</b></button><button class="beat" data-time="11.1"><span>11.10<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.00 秒的构图参考" loading="lazy"><figcaption>1.00s</figcaption></figure><figure><img src="assets/reference-3.jpg" alt="2.53 秒的构图参考" loading="lazy"><figcaption>2.53s</figcaption></figure><figure><img src="assets/reference-4.jpg" alt="5.83 秒的构图参考" loading="lazy"><figcaption>5.83s</figcaption></figure><figure><img src="https://r.open-design.ai/files/cd1e9d570580c2439b9b9e822cebefbb1d43fa7fb4f9a25a9442e1c9e45f74ae" alt="8.47 秒的构图参考" loading="lazy"><figcaption>8.47s</figcaption></figure><figure><img src="https://r.open-design.ai/files/b78f52cb4e07795feaaa619728ec28eb42dfde46ae38a58d76f4457ae73b95ae" alt="11.00 秒的构图参考" loading="lazy"><figcaption>11.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><li>每个网站保持约一段读写时间,不把全段堆成一屏</li></ul>
</div><div class="production-rules"><h3>制作约束</h3>
<p>横向网站队列 / 前景网站 / 底部输入条 / 导入文案</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>Lovable / MOTION.MD</span></footer></main>
<section id="source-view" hidden><pre># 导入项目和网站

用一条横向网站队列说明“这些来源都能导入”。输入栏保持在前景,让每个来源都有自己的导入命令。

```motion-demo
{
  &quot;id&quot;: &quot;sequence&quot;,
  &quot;title&quot;: &quot;整体编排&quot;,
  &quot;src&quot;: &quot;demos/sequence.html&quot;,
  &quot;duration&quot;: 11.666667,
  &quot;status&quot;: &quot;authored&quot;,
  &quot;description&quot;: &quot;动作与构图示意&quot;,
  &quot;initialTime&quot;: 3.7,
  &quot;params&quot;: [
    {
      &quot;key&quot;: &quot;title&quot;,
      &quot;label&quot;: &quot;示例主文案&quot;,
      &quot;type&quot;: &quot;text&quot;,
      &quot;value&quot;: &quot;Import your project&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;#ed3b99&quot;
    }
  ],
  &quot;presets&quot;: [
    {
      &quot;label&quot;: &quot;默认内容&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;Import your project&quot;,
        &quot;accent&quot;: &quot;#ed3b99&quot;
      }
    },
    {
      &quot;label&quot;: &quot;OpenDesign 改编&quot;,
      &quot;values&quot;: {
        &quot;title&quot;: &quot;OpenDesign&quot;,
        &quot;accent&quot;: &quot;#7050da&quot;
      }
    }
  ]
}
```

## 移动来源,固定操作入口

网站视窗沿水平方向切换,前景视窗清晰,左右邻项只露出一部分。底部输入条固定在同一位置;网站变化时,观众不用重新寻找操作入口。

## 一站点,一条命令

当前站点稳定后开始写入对应的导入文本。命令足以辨认来源后再切下一站,离场时同步清空或替换输入内容;不要让上一站的命令留在新站点上。

网站可以有完全不同的视觉风格,输入条、字体和按钮却保持一致。暗色背景与柔光承托队列,前景输入用高对比文字。

## 把末尾接回起点

最后一个来源结束后,将队列接回第一个网站,恢复开场输入状态。循环连接处保持移动方向、视窗大小和前景层次一致。

迁移时按“来源页面+来源类型+导入命令”成组替换。可改为设计文件、仓库或多工具导入,保留稳定入口和变化来源。

## 配色与字形

无衬线界面文字与清晰大小层级。

#101013 · #ffffff · #ed3b99 · #778df2 · #fb6740

## 元素与制作规则

横向网站队列 / 前景网站 / 底部输入条 / 导入文案

- 前景网站按水平队列切换,底部输入位置保持稳定
- 每个网站对应不同来源的导入命令;命令在该网站停留期间逐步写出
- 尾部重新出现第一网站,形成演示循环

## 内容替换

- 可换为多格式导入或多工具连接;维持固定操作条和不同来源对应
- 每个网站保持约一段读写时间,不把全段堆成一屏

## 制作参数

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

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

```motion-board
{
  &quot;version&quot;: 1,
  &quot;brand&quot;: &quot;Lovable&quot;,
  &quot;id&quot;: &quot;V043&quot;,
  &quot;palette&quot;: [
    &quot;#101013&quot;,
    &quot;#ffffff&quot;,
    &quot;#ed3b99&quot;,
    &quot;#778df2&quot;,
    &quot;#fb6740&quot;
  ],
  &quot;typography&quot;: &quot;无衬线界面文字与清晰大小层级&quot;,
  &quot;sample&quot;: &quot;Import your project&quot;,
  &quot;objects&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;: 1.0,
      &quot;frameId&quot;: &quot;K0004&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;: 2.533333333333333,
      &quot;frameId&quot;: &quot;K0010&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.833333333333333,
      &quot;frameId&quot;: &quot;K0022&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;https://r.open-design.ai/files/cd1e9d570580c2439b9b9e822cebefbb1d43fa7fb4f9a25a9442e1c9e45f74ae&quot;,
      &quot;timeSeconds&quot;: 8.466666666666667,
      &quot;frameId&quot;: &quot;K0029&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    },
    {
      &quot;path&quot;: &quot;https://r.open-design.ai/files/b78f52cb4e07795feaaa619728ec28eb42dfde46ae38a58d76f4457ae73b95ae&quot;,
      &quot;timeSeconds&quot;: 11.0,
      &quot;frameId&quot;: &quot;K0039&quot;,
      &quot;role&quot;: &quot;reference-evidence&quot;,
      &quot;status&quot;: &quot;measured&quot;
    }
  ],
  &quot;stages&quot;: [
    {
      &quot;start&quot;: 0.0,
      &quot;label&quot;: &quot;作品网站&quot;,
      &quot;end&quot;: 1.0,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 1.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;: 5.8,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 5.8,
      &quot;label&quot;: &quot;代码仓库&quot;,
      &quot;end&quot;: 8.6,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 8.6,
      &quot;label&quot;: &quot;电商网站&quot;,
      &quot;end&quot;: 11.1,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    },
    {
      &quot;start&quot;: 11.1,
      &quot;label&quot;: &quot;回到首网站&quot;,
      &quot;end&quot;: 11.666667,
      &quot;status&quot;: &quot;inferred&quot;,
      &quot;basis&quot;: &quot;Representative-frame review; approximate boundaries&quot;
    }
  ],
  &quot;duration&quot;: 11.666667,
  &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>