Detail Hard-Cut to Whole
A huge close-up of a character stroke drifts in slowly, hard-cuts mid-push to the full sentence, then a 2px frame rests on the matching word to tie the detail to the whole; for openers that start from one detail.
Motion5s1920×1080 · 30fps
0s / 4.5sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、4.5 秒的「局部特写硬切全貌」。两个场景文件(特写、全貌),不用图片,不开运动模糊,全片底色 `#0F1712`、字色 `#ECF2EE`、强调色 `#7FD99A`。字体用本地 `@font-face`:中文 Noto Serif SC,英文 Instrument Sans。整句 font-family 写 `"Instrument Sans", "Noto Serif SC"`,并给 Instrument Sans 的 @font-face 加 `unicode-range: U+0020-007E, U+00A0-024F`,这样全角逗号「,」和汉字都落到宋体。 特写场景(0 - 1.6 秒): 1. 一个 3600×3600 的方块,里面一个「片」字,字号 3600px、字重 900、行高 3600px、居中,字色 `#ECF2EE`。方块左上角放在 (-340, -1470),即居中后再偏移 X=500、Y=-210。画面里应只看到一根贯穿上下的粗竖、右边一根细横、右下角一点点另一笔,认不出是哪个字,四边都被笔画或底色铺满。 2. 外面套一个全屏容器,变换原点 (960, 540)。tween 它的 scale:1.00 → 1.04,时长 2.4 秒,缓动 `power1.inOut`,从 0 秒开始。场景只播 1.6 秒就被切走,所以只推到约 1.031,镜头在移动中被切。 3. 特写阶段不加模糊、不加景深、不加任何别的东西。 硬切(1.6 秒):特写宿主 `data-duration="1.6"`,全貌宿主 `data-start="1.6"`、`data-duration="2.9"`。没有叠化,没有缩放。 全貌场景(1.6 - 4.5 秒): 1. 整屏 flex 容器,左右内边距 192px,垂直居中、左对齐。文字「每一支片子,都从一个细节开始」,逗号处分两行(「每一支片子,」/「都从一个细节开始」),120px、字重 700、字距 -0.02em、行高 156px、色 `#ECF2EE`。第一帧就完整在,不做任何入场,全程不动。 2. 给「片」字包一个行内方块(`display: inline-block`、`position: relative`、行高 120px,所以高 120px),不加任何外边距、不改字距;里面放一个绝对定位的线框,画在「片」字自己的字框上:left: 0,right: -0.02em(抵消字距,宽 120px),top/bottom 各 -6px(框高 132px),`border: 2px solid #7FD99A`,无圆角、无阴影,初始 opacity 0。 3. 线框动画(场景本地时间):0.6 秒 opacity 0→1,0.12 秒 `power2.out`;保持 0.6 秒;再 opacity 1→0,0.3 秒 `power2.in`。之后到 4.5 秒完全静止(约 1.3 秒)。 需要替换的地方: - 整句 `line`(中文默认「每一支片子,都从一个细节开始」,英文 `Every film starts with one detail`)。 - 要框住的字 `focusText`(中文「片」,英文 `film`,必须出现在整句里)。 - 特写的字 `glyph`(默认「片」);换字后要调 `glyphX`、`glyphY`(默认 500、-210)重新取景,字的大小 `glyphSize` 默认 3600。 - 颜色 `ground`、`ink`、`accentColor`。 - 时间:`pushTo`(1.04)、`pushDuration`(2.4)、`boxDelay`(0.6)、`boxHold`(0.6)、`boxFade`(0.3)。 - 变量声明在各场景根元素的 `data-composition-variables` 上,换值时在对应宿主上写 `data-variable-values`。 - 不是变量的:硬切时间 1.6 秒(两个宿主的 `data-start`、`data-duration`)、总长 4.5 秒(`index.html` 的 `data-duration`)、全貌字号 120px 和内边距 192px。
Learn the technique
先给一个大特写并缓推(1.00→1.04,只播 1.6 秒,切点落在镜头还在动的时候),1.6 秒处硬切到完整的一句话并保持静止;切后 0.6 秒,用 2px 强调色线框在对应的字上停 0.6 秒再 0.3 秒淡出,把局部和整体对上位置,全程没有叠化、模糊和缩放。
MCP
get_video({ "id": "motion-transition-detail-to-whole" })Beats
| Time | Purpose | Visual | Camera | Transition | On-screen text |
|---|---|---|---|---|---|
| 0–1.6s | Show the detail and hold the mystery | Full-bleed close-up of strokes of the character 片, scale 1.00 toward 1.04 (2.4 s tween, power1.inOut, played for 1.6 s) | push-in | — | — |
| 1.6–4.5s | Reveal the whole, then point out where the detail sits | The line holds still; from 2.2 s a 2px accent frame appears on 片, rests 0.6 s, fades out in 0.3 s | static | hard-cut | Every film starts with one detail |
Parameters
| Parameter | Default | Range | Kind |
|---|---|---|---|
Sentence line | 每一支片子,都从一个细节开始 | — | Content |
Text to frame focusText | 片 | — | Content |
Close-up character glyph | 片 | — | Content |
Close-up glyph size glyphSize | 3600px | 1200 – 6000px | Look |
Close-up offset X glyphX | 500px | -2400 – 2400px | Look |
Close-up offset Y glyphY | -210px | -2400 – 1200px | Look |
Push end scale pushTo | 1.04 | 1 – 1.2 | Motion |
Push tween duration pushDuration | 2.4s | 1 – 4s | Timing |
Frame delay after the cut boxDelay | 0.6s | 0.2 – 1.5s | Timing |
Frame hold boxHold | 0.6s | 0.2 – 1.5s | Timing |
Frame fade-out boxFade | 0.3s | 0.1 – 1s | Timing |
Ground ground | #0F1712 | — | Look |
Ink ink | #ECF2EE | — | Look |
Frame color accentColor | #7FD99A | — | Look |
Good for
- A tease first, then the reveal of the whole and where the detail sits
- An opening line or a chapter head
- Close-ups that are vector text or shapes, no screenshot needed
- Defaults to 4.5 s: close-up 1.6 s, whole line still for 2.9 s
Not for
- Dissolves or zoom-out reveals
- Close-ups that need blur or depth of field
- A film whose only content is this cut