# List Scroll Settle (快滚停在目标行)

A column of words accelerates then decelerates on a long tail, lands on the target word at the vertical center without bounce, then the target lights up while the rest dim; for picking one option out of many.

- Ref: `video/motion-list-scroll-settle` (code video · motion · launch, feature, any · any · 4s at 30fps)
- Page: https://uifino.com/en/videos/motion-list-scroll-settle
- Markdown: https://uifino.com/md/videos/motion-list-scroll-settle.md
- Preview image: https://uifino.com/videos/motion-list-scroll-settle/poster.jpg

## Install

- ZIP: https://uifino.com/videos/motion-list-scroll-settle/source.zip

A column of words accelerates then decelerates on a long tail, lands on the target word at the vertical center without bounce, then the target lights up while the rest dim; for picking one option out of many.

Rendered video: https://uifino.com/videos/motion-list-scroll-settle/preview.mp4

## Beats

- 0-0.2s Show the start: Column still, center word is Feature update Camera: static.
- 0.2-0.6s Speed up: Column moves up 960 px (8 rows), power2.in, end speed 4800 px/s, vertical blur 0 to 10 px Camera: static.
- 0.6-1.8s Long-tail deceleration to a stop: Another 840 px (7 rows), expo.out, stops on Launch film at the center, no bounce Camera: static. On-screen text: "Launch film".
- 1.8-2.3s Light the target after it stops: Wait 0.2 s, target 55% to 100% and accent color, others 55% to 22%, 0.3 s Camera: static.
- 2.3-4s Let the viewer read: Fully still Camera: static.

## Parameters

- `words` Words (separated by |): default 教程|品牌片|功能更新|口播|广告|发布片
- `target` Landing word: default 发布片
- `accentColor` Accent of the landed word: default #F2B544
- `bg` Background: default #0E0E10
- `ink` Text color: default #F4F4F2
- `fontSize` Font size: default 80px, range 48 to 96px
- `startDelay` Scroll start: default 0.2s, range 0 to 1s
- `accelRows` Rows while accelerating: default 8, range 4 to 12
- `accelDuration` Acceleration duration: default 0.4s, range 0.3 to 0.6s
- `accelEase` Acceleration ease: default power2.in
- `settleRows` Rows while settling: default 7, range 4 to 12
- `settleDuration` Settle duration: default 1.2s, range 0.9 to 1.6s
- `settleEase` Settle ease: default expo.out
- `litDelay` Wait before lighting: default 0.2s, range 0.1 to 0.4s
- `litDuration` Light-up duration: default 0.3s, range 0.15 to 0.5s
- `blurPeak` Vertical blur at top speed: default 10px, range 0 to 30px
- `dimOpacity` Opacity of the other words after landing: default 0.22, range 0.1 to 0.4

## Good for

- A turn where one option is picked from a set of types or features
- A clean, restrained, launch-film style text move
- Works for Chinese and English word lists of about 6 words in a loop

## Not for

- Scenes that must show a lot of information at once
- Long lists where every word has to be read

## Source files (plain text)

- https://uifino.com/videos/motion-list-scroll-settle/source/SPEC.md
- https://uifino.com/videos/motion-list-scroll-settle/source/PROMPT.md
- https://uifino.com/videos/motion-list-scroll-settle/source/NOTICE.md
- https://uifino.com/videos/motion-list-scroll-settle/source/project/assets/fonts/OFL.txt
- https://uifino.com/videos/motion-list-scroll-settle/source/project/compositions/list.html
- https://uifino.com/videos/motion-list-scroll-settle/source/project/hyperframes.json
- https://uifino.com/videos/motion-list-scroll-settle/source/project/index.html

## How to use

- Copy the beats and parameters; replace only the copy, the accent color and the product screenshots.
- `PROMPT.md` has two prompts: one to reproduce this video exactly, one to learn only the technique.
- Build with HyperFrames (`/hyperframes`); the project in the ZIP is a ready starting point.

## Files

| Path | Role | Size |
| :--- | :--- | ---: |
| PROMPT.md | doc | 3.1 KB |
| SPEC.md | doc | 6.4 KB |

### PROMPT.md

```md
# PROMPT：motion-list-scroll-settle

## 照抄复刻
用 `/hyperframes` 做一个 1920×1080、30 fps、4 秒的文字动效，只有一列词，底色 `#0E0E10`，字色 `#F4F4F2`，字号 80、字重 600、字距 -0.01em，每行高 120px，水平居中；快速段要有竖直运动模糊（见第 3、4 步）。

做法：
1. 词表「教程 / 品牌片 / 功能更新 / 口播 / 广告 / 发布片」循环排成一列，至少 29 行，每行 120px 高，整列放在一个 1920×1080 的容器里，容器套上下渐隐遮罩（`linear-gradient(to bottom, transparent 0%, #000 34%, #000 66%, transparent 100%)`），遮罩不随列滚动。所有词不透明度 55%。整个容器套一个竖直方向的 SVG 滤镜 `<feGaussianBlur stdDeviation="0 b"/>`（`filterUnits="userSpaceOnUse"`，覆盖 1920×1080），用来做运动模糊，b 初始为 0；第 4 步里减速段的模糊动画要写 `immediateRender: false`（GSAP 的 fromTo 默认创建时就把起始值写上去），并在建好时间线后先调用一次把 stdDeviation 设成 `0 0`，否则开头会带着峰值模糊。
2. 起点：中线（y = 540）上是第 8 行「功能更新」，也就是列的 y = 480 - 8 × 120 = -480。
3. 0.2 – 0.6 秒（0 – 0.2 秒列静止、不模糊）：整列向上 960px（8 行），`power2.in`，0.4 秒；同时 b 从 0 线性升到 10。
4. 0.6 – 1.8 秒：整列再向上 840px（7 行），`expo.out`，1.2 秒，b 同样用 `expo.out` 从 10 降到 0，这一条 tween 用 `immediateRender: false`，停在第 23 行「发布片」，正好在中线上，误差 0px。两段速度在接缝处衔接（4800px/秒对 4851px/秒），不回弹、不过冲。
5. 停稳 0.2 秒后（2.0 – 2.3 秒）：目标词不透明度 55% → 100%，颜色变强调色 `#F2B544`；其余词不透明度 55% → 22%，`power2.out`，0.3 秒。不加框、不加底色块、不边滚边高亮。
6. 2.3 – 4.0 秒：一动不动。

需要替换的地方：
- 词表（变量 `words`，`|` 分隔）和停靠词（`target`，必须是词表里的一个词）：中文 `教程|品牌片|功能更新|口播|广告|发布片` 停在「发布片」；英文 `Tutorial|Brand film|Feature update|Talking head|Ad|Launch film` 停在 `Launch film`。起点行按词表个数自动算。
- 颜色：`accentColor`、`bg`、`ink`；字号 `fontSize`。
- 时间和缓动：`startDelay`、`accelRows`、`accelDuration`、`accelEase`、`settleRows`、`settleDuration`、`settleEase`、`litDelay`、`litDuration`、`blurPeak`（10）、`dimOpacity`。改行数或时长后要自己核对两段速度在接缝处是否相等。
- 中文用思源黑体子集，英文用 IBM Plex Sans（`@font-face` 指向 `assets/fonts/`）；不要联网取字体。

## 只学手法
整列词向上滚：前 0.4 秒用 `power2.in` 加速到最快（约 4800px/秒），之后 1.2 秒用 `expo.out` 长尾减速，两段在接缝处速度对齐，位移是行高的整数倍，所以正好停在中线目标词上，不回弹；停稳 0.2 秒后，目标词才变亮，其余压暗到 22%，滚动中靠上下渐隐遮罩让词有亮有暗，快速段加竖直模糊（峰值 10px，随速度升降，停稳为 0）。
```

### SPEC.md

```md
# SPEC：motion-list-scroll-settle

## LOOK
- 色值：底 `#0E0E10`，字 `#F4F4F2`，强调色 `#F2B544`（只给停稳后的目标词，面积远小于 10%）。中性色只有底和字两个；次要字 `#8A8A8E`、线 `#26262A` 在本条里没有用到，不画任何线和框。
- 字体：中文 Noto Sans SC（`assets/fonts/noto-sans-sc.woff2`），西文 IBM Plex Sans（`assets/fonts/ibm-plex-sans.woff2`），都是门禁按用到的字生成的子集，OFL，本地 `@font-face`。两个族。
- 字号：只有一档，80px，字重 600，字距 -0.01em。
- 行：行高 120px，每行一个词，水平居中（x = 960），整列居中对齐。
- 圆角：无。阴影：无。没有任何装饰元素。
- 明暗：滚动中所有词用字色 `#F4F4F2` 加 55% 不透明度；整列外面套一层上下渐隐的遮罩（0% 全透明、34% 到 66% 全显、100% 全透明），所以越靠近中线越亮、越靠近画面上下越暗，滚动时词和词亮度并不一样。遮罩是画面固定的，不随列滚动。

## MOTION
- 画面静止 0 – 0.2 秒（`startDelay`，6 帧）：列停在起点，中线上是「功能更新」，竖直模糊为 0，第 0 帧就是清楚的完整画面。减速段的模糊动画必须写 `immediateRender: false`，并在建时间线后调用一次 `applyBlur()`，否则开头会带着峰值模糊。
- 加速 0.2 – 0.6 秒：整列向上移动 960px（8 行），`power2.in`，0.4 秒。结束时速度 = 2 × 960 / 0.4 = 4800px/秒。
- 长尾减速 0.6 – 1.8 秒：整列再向上移动 840px（7 行），`expo.out`，1.2 秒。起步速度约 6.93 × 840 / 1.2 = 4851px/秒，和加速段末速度只差约 1%，接缝处速度衔接；一直单调减速，没有回弹，没有过冲。
- 总位移 1800px = 15 行。起点中线词是第 8 行「功能更新」，终点中线词是第 23 行「发布片」，两者正好相差 15 行；词表 6 个词一圈，所以起点行号 ≡ 2（模 6），终点行号 ≡ 5（模 6）。
- 对齐：中线行的顶边 = 480px，行高 120px，所以行的中心 = 540px = 画面垂直中线，误差 0px。列的位移全部是 120 的整数倍，终点不依赖缓动的数值尾巴（expo.out 在终点值正好为 1）。
- 运动模糊：整列外层（`#sl-view`）套一个只在竖直方向模糊的 SVG 滤镜（`feGaussianBlur`，`stdDeviation="0 b"`），b 跟着速度走：加速段 0.2 – 0.6 秒从 0 线性升到 10px（`none`，因为 `power2.in` 的速度本来就是线性增长），减速段 0.6 – 1.8 秒（和位移的减速段同起同止）从 10px 按 `expo.out` 降回 0（速度按同一条曲线衰减），停稳时 b = 0，字清晰。峰值 10px（评审认为 14px 把整列糊成灰带偏重，改为 10px）在变量 `blurPeak`。
- 停稳后 1.8 – 2.0 秒：什么都不动（0.2 秒，`litDelay`）。
- 点亮 2.0 – 2.3 秒：目标词不透明度 55% → 100%，颜色 `#F4F4F2` → `#F2B544`；其余词不透明度 55% → 22%；都是 `power2.out`，0.3 秒。词的位置、字号、字重不变。
- 2.3 – 4.0 秒：完全静止，1.7 秒。
- 没有退场：整条停在目标词上结束。

## 逐拍节拍表
| 拍 | 起止秒 | 画面 | 镜头 | 转场 | 屏幕文案原文 |
| --- | --- | --- | --- | --- | --- |
| hold | 0.0 – 0.2 | 列停在起点，中线是「功能更新」 | 固定 | 无 | 教程 / 品牌片 / 功能更新 / 口播 / 广告 / 发布片（循环排列） |
| speed-up | 0.2 – 0.6 | 列向上加速 960px | 固定 | 无 | 同上 |
| settle | 0.6 – 1.8 | 列向上长尾减速 840px，停在「发布片」 | 固定 | 无 | 同上 |
| lit | 1.8 – 2.3 | 停 0.2 秒，目标词变亮并染强调色，其余压暗 | 固定 | 无 | 同上 |
| rest | 2.3 – 4.0 | 一动不动 | 固定 | 无 | 发布片（亮），其余压暗 |

英文版：词表 `Tutorial|Brand film|Feature update|Talking head|Ad|Launch film`，目标 `Launch film`；词的个数、行高、位移完全一样，代码按词表个数自动算起点行。

## 参数接线
全部是 `project/compositions/list.html` 根元素 `data-composition-variables` 里的变量，用户的 AI 在挂载处用 `data-variable-values` 覆盖：
- `words`（词表，`|` 分隔，默认中文 6 个词）、`target`（停在哪个词，必须是词表里的一个词；默认「发布片」）。
- `accentColor`（`#F2B544`，停稳后目标词的颜色）、`bg`（`#0E0E10`）、`ink`（`#F4F4F2`）、`fontSize`（80）。
- `startDelay`（0.2）、`accelRows`（8）、`accelDuration`（0.4）、`accelEase`（`power2.in`）、`settleRows`（7）、`settleDuration`（1.2）、`settleEase`（`expo.out`）、`litDelay`（0.2）、`litDuration`（0.3）、`blurPeak`（10）、`dimOpacity`（0.22）。
- 滚动中词的不透明度 55%、渐隐遮罩的 34% / 66%、行高 120px 不是变量：改 `list.html` 样式里的 `.sl-row` 的 `opacity`、`#sl-view` 的 `mask-image`，行高要同时改样式里的 `height` / `line-height` 和脚本里的常量 `ROW`。
- 换了行数或时长后，加速段末速度（2 × 距离 / 时长）要和减速段起步速度（约 6.93 × 距离 / 时长）自己对一下，接缝才不顿。
- 总时长 4 秒也不是变量：改 `index.html` 的 `data-duration` 和 `list` 宿主的 `data-duration`。

## 禁用项
停住后回弹、过冲；目标词加框、加底色块、加下划线；滚动中所有词一样亮；边滚边高亮；画面上的标签、编号、说明字；辉光、渐变字、点击光圈、呼吸漂浮；落定后任何缩放或位移。

## 已知取舍
- 没有用引擎自带的 `data-motion-blur`：在根上开了它（快门 180，也试过 events 模式），成片里 0.6 秒（最快一帧，每帧约 160px）的字仍然是清晰的，没有任何拖影，所以改用上面的竖直 SVG 滤镜，渲染出来在成片里确认有效。
- 画面里同时可见约 7 个词，只有「发布片」是有意义的落点；其余词按 BRIEF 给的 6 个词循环排列，没有额外编造内容。
- 目标词从点亮起（2.0 秒）到结束停留 2.0 秒，满足「最后一句至少 2 秒」。开头静止 0.2 秒让观众看到起点，再长就会挤掉结尾的 2 秒。
- 门禁警告 `line_unread`（滚动中经过中线附近的词只在画面上停留 0.2 – 0.4 秒，低于 0.4 秒下限）：保留。这条动效的主题就是一列词飞快掠过，这些词本来就不要求读清，要读的只有最后停住的「发布片」；它从点亮起停留 2.0 秒，没有这条警告。
```
