Complete the Line
The first half of a line lands and holds so the viewer starts guessing, then the second half pushes in in the accent color; the first half never moves. For a claim with a turn in it.
Motion4s1920×1080 · 30fps
0s / 4sFrame 0
Copy it exactly
用 `/hyperframes` 做一条 1920×1080、30 fps、4 秒的动效:深色底上一句话先只露出前半句,停住让观众猜,再把后半句从旁边推进来补全。
1. 画面:底色 `#0E0E10`;整句单行居中,一档字号 128px,字重 700,字距 -0.02em,行高 1.3。前半句字色 `#F4F4F2`,后半句强调色 `#F2B544`。字体用本地 `@font-face`:西文 Schibsted Grotesk,中文 Noto Sans SC。字号按字数缩:估算宽度 em = 中文字和全角标点每个 1 + 英文字母每个 0.56 + 空格每个 0.25,字号 = min(128, floor(1560 / em))。
2. 结构:整句拆成两个 `overflow: hidden` 的遮罩盒并排放在一个居中的 flex 行里,每个盒里一个 `display: block` 的字块。整行必须加 `white-space: pre`,否则英文前半句末尾的空格会被折掉,两句黏在一起。两个盒从第 0 帧起就在布局里,所以前半句位置不会因后半句出现而变。
3. 前半句入场:0.10 秒起,字块 `yPercent` 从 110 到 0,0.45 秒,`power4.out`。
4. 停顿:前半句落定(0.55 秒)后停 0.95 秒,什么都不动。
5. 后半句入场:1.50 秒起,字块 `xPercent` 从 -105 到 0,0.50 秒,`power3.out`,从左往右推进遮罩盒。不逐字、不淡入、不缩放。
6. 2.00 秒后整句静止 2 秒到片尾。前半句全程不平移。
7. 根元素加 `data-motion-blur="on"` 和 `data-motion-blur-shutter="45"`。
8. 禁止:前半句为让位而平移、逐字打出、省略号下划线空框占位、淡入、回弹、发光。
需要替换的地方(在 `index.html` 里 `id="complete"` 的挂载元素上写 `data-variable-values='{"firstHalf":"Good-looking video? ","secondHalf":"Copy a good one."}'` 传入;换中文文案后要重新生成字体子集,否则缺字):
- 前半句 `firstHalf`(默认「好看的视频,」,英文末尾留一个空格)和后半句 `secondHalf`(默认「照着抄就行。」)。
- 颜色:`accentColor`、`bg`、`ink`。
- 字号上限 `fontSize`。
- 时间和缓动:`firstAt`、`firstDuration`、`firstEase`、`holdGap`(0.9–1.2 秒)、`pushDuration`、`pushEase`。
- 不要加产品界面和其他文字。Learn the technique
前半句先落定并停 0.9–1.2 秒让观众去猜,后半句换另一种进场(0.5 秒、`power3.out` 从左往右的遮罩推入)并换成强调色,前半句全程不动,补全后整句静止 2 秒。
MCP
get_video({ "id": "motion-text-complete-the-line" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0–0.55s | Put out the first half | Ground only until 0.1 s; the first half rises up inside its mask, 0.45 s, power4.out | static | — | Good-looking video? |
| 0.55–1.5s | Let the viewer guess | The first half is dead still with room to its right, 0.95 s | static | — | — |
| 1.5–2s | Complete the line | The second half in the accent color pushes in left to right through its mask, 0.5 s, power3.out; the first half stays put | static | — | Copy a good one. |
| 2–4s | Let the viewer read | The whole line stays fully still for 2 s | static | — | — |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
First half firstHalf | 好看的视频, | — | Content |
Second half secondHalf | 照着抄就行。 | — | Content |
Accent color (second half) accentColor | #F2B544 | — | Look |
Background bg | #0E0E10 | — | Look |
First half color ink | #F4F4F2 | — | Look |
Max font size fontSize | 128px | 72 – 160px | Look |
First half start firstAt | 0.1s | 0 – 0.5s | Timing |
First half duration firstDuration | 0.45s | 0.3 – 0.8s | Motion |
First half ease firstEase | power4.out | — | Motion |
Pause before the second half holdGap | 0.95s | 0.9 – 1.2s | Timing |
Push-in duration pushDuration | 0.5s | 0.4 – 0.7s | Motion |
Push-in ease pushEase | power3.out | — | Motion |
Good for
- A slogan whose first half poses a question or condition and the second answers it
- Two halves of about 5 to 8 Chinese characters, or 2 to 3 English words each
- A launch claim that needs a beat of suspense
Not for
- A line with no turn that reads in one breath
- Sentences with three or more parts
- When you want a typewriter effect