# Dip to Black (黑场断句)

A hard cut to pure black for 0.4 s after the first line settles, then a hard cut to a light ground with the second line already in place; a clean full stop between two statements.

- Ref: `video/motion-transition-dip-to-black` (code video · motion · any · any · 3.5s at 30fps)
- Page: https://uifino.com/en/videos/motion-transition-dip-to-black
- Markdown: https://uifino.com/md/videos/motion-transition-dip-to-black.md
- Preview image: https://uifino.com/videos/motion-transition-dip-to-black/poster.jpg

## Install

- ZIP: https://uifino.com/videos/motion-transition-dip-to-black/source.zip

A hard cut to pure black for 0.4 s after the first line settles, then a hard cut to a light ground with the second line already in place; a clean full stop between two statements.

Rendered video: https://uifino.com/videos/motion-transition-dip-to-black/preview.mp4

## Beats

- 0-1.1s First line lands and holds: Ink ground, line one sharpens in 0.1-0.3 s (power4.out), then holds 0.8 s Camera: static. On-screen text: "First, make it.".
- 1.1-1.5s Black as punctuation: Pure #000000, nothing in it; hard cut in, hard cut out Camera: static. Transition: cut.
- 1.5-3.5s Second line already in place: Paper ground, no entrance for line two, holds 2.0 s Camera: static. On-screen text: "Then let everyone see it.".

## Parameters

- `holdBefore` Hold before the black: default 0.8s, range 0.5 to 1.2s
- `blackDuration` Black duration: default 0.4s, range 0.3 to 0.5s
- `cutFade` Fade into and out of black: default 0s, range 0 to 0.1s
- `enterDuration` First line entrance: default 0.2s, range 0.13 to 0.3s
- `fontSize` Font size: default 120px, range 64 to 160px
- `inkBg` First scene background: default #0E0E10
- `paperBg` Second scene background: default #F6F5F2
- `accent` Accent color: default #F2B544

## Good for

- A clear pause between two statements
- Dark scene followed by a light one, or the reverse
- Two-line claims in launch or manifesto films

## Not for

- Both scenes share one ground: the black just flashes
- Black that must carry a logo or text
- Repeated use: one or two dips per film at most

## Source files (plain text)

- https://uifino.com/videos/motion-transition-dip-to-black/source/SPEC.md
- https://uifino.com/videos/motion-transition-dip-to-black/source/PROMPT.md
- https://uifino.com/videos/motion-transition-dip-to-black/source/NOTICE.md
- https://uifino.com/videos/motion-transition-dip-to-black/source/project/assets/fonts/OFL.txt
- https://uifino.com/videos/motion-transition-dip-to-black/source/project/compositions/dip.html
- https://uifino.com/videos/motion-transition-dip-to-black/source/project/hyperframes.json
- https://uifino.com/videos/motion-transition-dip-to-black/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 | 2.2 KB |
| SPEC.md | doc | 4.8 KB |

### PROMPT.md

```md
# PROMPT：motion-transition-dip-to-black

## 照抄复刻
用 `/hyperframes` 做一个 1920×1080、30 fps、3.5 秒的转场动效：两句话，中间隔一个纯黑的黑场。一个场景（`compositions/dip.html`）里叠三层铺满画面的底：ink、paper、黑，字体只有一档 120px、字重 700、字距 -0.02em，单行水平居中，文字视觉中心在画面 45% 高度（y = 486px），两句位置完全一致。

节拍：
1. 0.0–1.1 秒：ink 底 `#0E0E10`，字 `#F4F4F2`，第一句「先把它做出来。」，「做出来」染强调色 `#F2B544`。0.1 秒起 0.2 秒内从 `blur(8px)` + 透明度 0 变到清晰（`power4.out`），0.3 秒落定，之后一动不动，停 0.8 秒。
2. 1.1–1.5 秒：硬切成纯 `#000000`，共 0.4 秒，里面没有任何元素。进黑和出黑都是硬切（0 秒渐变，用 `tl.set`）。
3. 1.5–3.5 秒：硬切到 paper 底 `#F6F5F2`，字 `#121212`，第二句「再让所有人看见。」已经在位，没有入场动画，静止 2.0 秒，没有退场。

做法要点：paper 层一开始 `opacity: 0`，黑层在 1.1 秒 `set` 到 1，同一时刻把 ink 层 `set` 为 0、paper 层 `set` 为 1（被黑层盖住，看不见），1.5 秒把黑层 `set` 回 0，露出 paper。不要用淡入淡出，不要在黑场里放标志或文字，两段不能用同一个底色。

需要替换的地方：
- 两句文案：变量 `text1`、`text2`；英文 `First, make it.` / `Then let everyone see it.`，强调词 `accentWord` 改成 `make it`。
- 强调词和颜色：`accentWord`（必须是第一句里的一段）、`accent`、`inkBg`、`inkText`、`paperBg`、`paperText`。
- 时间：`holdBefore`（默认 0.8 秒）、`blackDuration`（0.4 秒，范围 0.3–0.5）、`cutFade`（0 秒硬切，最多 0.1 秒）、`enterDuration`（0.2 秒）、`fontSize`（120）。
- 中文用思源黑体子集，英文用 IBM Plex Sans，都用本地 `@font-face` 指向 `assets/fonts/`，不要联网取字体。

## 只学手法
黑场是标点：上一句落定后停 0.8 秒，硬切成纯黑 0.4 秒（长度 0.3–0.5 秒，进出黑都是硬切或 0.1 秒内），再硬切到明暗反差大的浅色底，下一句早已在位、不做入场；前后反差越大，断开感越强。
```

### SPEC.md

```md
# SPEC：motion-transition-dip-to-black

## 手法一句话
上一句落定、停 0.8 秒，画面硬切成纯黑，黑 0.4 秒，再硬切到浅色底上已经就位的下一句。黑场当标点用：它把两句话断开，前后明暗反差越大，断得越干净。

## LOOK
- 色值（中性色 5 个，强调色 1 个）
  - 第一段底 ink：`#0E0E10`；第一段字：`#F4F4F2`
  - 黑场：`#000000`
  - 第二段底 paper：`#F6F5F2`；第二段字：`#121212`
  - 强调色：`#F2B544`，只染第一句里的「做出来」（面积远小于 1%）；第二段不用强调色（琥珀色在浅底上对比不够）
  - BRIEF 里给的次要字 `#8A8A8E` 和线 `#26262A` 本条目用不上，没有放进画面，所以中性色实际用到 5 个
- 字体：中文 Noto Sans SC（`assets/fonts/noto-sans-sc.woff2`），英文 IBM Plex Sans（`assets/fonts/ibm-plex-sans.woff2`），都是门禁按用到的字生成的子集，本地 `@font-face`，各算一个族
- 字号：只有一档 120px，字重 700，字距 -0.02em，行高 1.3，单行不换行
- 圆角：无。阴影：无。没有任何装饰、线条和标签
- 位置：每句单行水平居中，文字视觉中心在画面 45% 高度（y = 486px）；两句位置完全一致，所以切换时只有底色和字色变，位置不跳

## MOTION
- 第一句入场：整句从 `blur(8px)` + 透明度 0 变到清晰 + 透明度 1，0.2 秒，`power4.out`，从 0.1 秒开始，0.3 秒落定。落定后一动不动
- 停顿：0.3–1.1 秒，共 0.8 秒，没有任何动画
- 进黑：1.1 秒硬切（0 秒渐变）。黑场里没有任何元素
- 黑场：1.1–1.5 秒，共 0.4 秒，纯 `#000000`
- 出黑：1.5 秒硬切到 paper 底。第二句早已在位，不做入场动画，不做缓动
- 第二句停留：1.5–3.5 秒，共 2.0 秒（最后一句至少 2 秒），一动不动，没有退场
- 进出黑的渐变参数 `cutFade` 默认 0；要柔一点可以调到最多 0.1 秒（进黑从 1.1 秒起、出黑到 1.5 秒止，黑场总长不变）
- 缓动只有一种：`power4.out`（第一句入场）；两次切换没有缓动

## 逐拍节拍表
| 拍 | 起止秒 | 画面 | 镜头 | 转场 | 屏幕文案原文 |
| --- | --- | --- | --- | --- | --- |
| first | 0.0 - 1.1 | ink 底，第一句 0.1–0.3 秒清晰落定，之后静止 0.8 秒 | 固定 | 无 | 先把它做出来。 |
| black | 1.1 - 1.5 | 纯黑，没有任何元素 | 固定 | 硬切进，硬切出 | 无 |
| second | 1.5 - 3.5 | paper 底，第二句已在位，静止 2.0 秒 | 固定 | 无 | 再让所有人看见。 |

英文版：`First, make it.` / `Then let everyone see it.`，强调词 `make it`。同样 120px、同样节拍；第二句 25 个字符约 1550px 宽，在 1920 宽度内。

## 参数接线
全部是 `project/compositions/dip.html` 根元素 `data-composition-variables` 里的变量，用户的 AI 在挂载处用 `data-variable-values` 覆盖：

| 变量 | 默认 | 范围 | 改了哪里变 |
| --- | --- | --- | --- |
| text1 | 先把它做出来。 | | 第一句文案 |
| text2 | 再让所有人看见。 | | 第二句文案 |
| accentWord | 做出来 | 必须是 text1 的一段 | 第一句里被染强调色的词 |
| accent | #F2B544 | | 强调色 |
| inkBg / inkText | #0E0E10 / #F4F4F2 | | 第一段底和字 |
| paperBg / paperText | #F6F5F2 / #121212 | | 第二段底和字 |
| fontSize | 120 | 64–160 | 两句字号 |
| enterDuration | 0.2 | 0.13–0.3 秒 | 第一句清晰入场用时，入场从 0.1 秒起 |
| holdBefore | 0.8 | 0.5–1.2 秒 | 第一句落定后到进黑的停顿，进黑时刻 = 0.1 + enterDuration + holdBefore |
| blackDuration | 0.4 | 0.3–0.5 秒 | 黑场总长 |
| cutFade | 0 | 0–0.1 秒 | 进黑和出黑各自的渐变用时，0 是硬切 |

整条总长 3.5 秒是 `index.html` 的 `data-duration` 和 `dip.html` 外层 `data-duration`，改 `holdBefore` 或 `blackDuration` 后第二句的停留时间会跟着变，要保证它至少 2 秒就同步改总长。

## 禁用项
淡入淡出超过 0.2 秒、黑场里放标志或文字、两段用同一个底色、第二句入场动画、落定后缩放或漂移、辉光、渐变、小标签和注释、运动模糊、点击光圈。

## 已知取舍
- `first_frame_empty`：第一句要从空画面清晰入场，第 0 帧只有 ink 底；封面取 0.9 秒，那时第一句已落定。
- 第一句只停 0.8 秒 + 0.2 秒入场，比「字数 × 0.25 秒」（7 字 1.75 秒）短：BRIEF 把停顿定死在 0.8 秒，本条目是 3.5 秒的转场手法样例，放进整片时把 `holdBefore` 拉长即可，黑场长度不变。
- 次要字色和线色没有用到，见 LOOK。
- `line_unread`（第一句只在屏幕上 0.96 秒，低于 1.70 秒的参考值）：保留。BRIEF 定死「落定后停 0.8 秒再进黑」，这是转场手法样例；放进整片时拉长 `holdBefore` 即可。
```
