MCP READYQuery DESIGN.md protocols, components, templates & tools directly from Claude Code, Grok Build and VS Code.Connect MCP →
uifino
CatalogStylesComponentsTemplatesVideosToolsConnect AI
uifino

DESIGN.md protocols & progressive UI engineering for humans and AI coding agents.

CATALOG
Linear DESIGN.mdClaude DESIGN.mdVercel DESIGN.mdFlighty iOS Spec
STYLES
All StylesHairline GridFrosted GlassNeo-Brutalism
COMPONENTS
HeroAuthTablesCounters
TEMPLATES, VIDEOS & TOOLS
Starter TemplatesVideosBackground GeneratorShadow & Token LabMCP Server Setup
Home/Videos

Camera Follows the Caret

One sentence types out at 360 px while the camera frames only the last four or five characters and follows the caret to the right; after a 0.4 s stop it pulls back over 1 s to settle the whole sentence in the middle of the frame, the caret blinks twice and retracts.

Motion6s1920×1080 · 30fpsLaunchFeatureBrand
0s / 6sFrame 0
Copy it exactly
用 `/hyperframes` 复刻一条 6 秒、1920×1080、30 fps 的镜头跟拍打字片。纸色底 `#F6F5F2`,字和光标都是 `#121212`,画面上只有一句话和一根光标,没有别的东西。

- 做一个「世界层」(宽 = 整句宽,`transform-origin: 0 0`),里面放整行字(Noto Serif SC,字重 500,360px,行高 468px,行中线在 y = 540px)和一根光标(宽 16px,高 378px,纯色,圆角 0)。镜头就是这个世界层的 `x`、`y`、`scale`。
- 每个字在自己的时间点瞬间出现,光标瞬移到它右边 11px。第一个字在 0.6 秒,之后每字间隔 0.2 秒上下浮动 0.05 秒,用固定种子的随机数(种子 7),每次渲染一样。
- 每出一个字,世界层 `x` 做一段补间,让光标落回屏幕 x = 1440px,`power2.out`,最长 0.2 秒(间隔不足 0.2 秒时缩到间隔长度)。镜头位置只能是时间线上的补间,不能在回调里跟随计算。光标停靠时画面里 4 个字,新字出现的一瞬间是 5 个字。
- 最后一个字出现后,等跟拍走完,再静止 0.4 秒。
- 然后 1.0 秒、`power3.inOut`,在同一段补间里把 `x`、`y`、`scale` 一起变到:scale = 96 / 360 = 0.2667(等效字号 96px),整句落在画面正中,不重新排版。
- 拉远结束 0.1 秒后光标灭 0.25 秒、亮 0.25 秒,共两次,然后 0.2 秒 `power3.in` 从中心向内收没。整句静止到结束。
- 快速移动加水平运动模糊:每个字的跟拍从 σ 10 线性降到 0(只占跟拍补间的前半段),拉远时 σ 0 升到 16 再降回 0。用 SVG `feGaussianBlur` 配合补间做,不要依赖 `data-motion-blur`。
- 字体用本地 `@font-face`(assets/fonts/noto-serif-sc.woff2,英文用 instrument-sans.woff2);时间线要等 `document.fonts.load` 完成、量完字宽后再注册。

需要替换的地方:
- 句子(默认「今天把开场改短一点」;没有空格按字拆,有空格按词拆,英文如 Make the opening shorter today)
- 字号 360px、光标停靠位置 1440px、打字起点 0.6 秒、字间隔 0.2 秒、浮动 0.05 秒、随机种子 7
- 打完后的停顿 0.4 秒、拉远时长 1.0 秒、拉远后的等效字号 96px、光标闪烁半周期 0.25 秒
- 字和光标颜色 `#121212`、底色 `#F6F5F2`
Learn the technique
把整句排成一行放进可缩放的世界层,打字时镜头用每字一段 0.2 秒 `power2.out` 的补间把光标拉回右侧 1440px,画面始终只框住最近的 4 到 5 个字;打完停 0.4 秒,再用 1.0 秒 `power3.inOut` 同时缩放加平移拉远,整句收进画面正中,光标闪两下后收起。
MCP
get_video({ "id": "motion-camera-follow-caret" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–0.6sShow the caret first so the viewer knows something will be writtenPaper ground, one caret resting at x = 1440 px, blinking off and on oncestatic——
0.6–2.34sThe camera stays on the caret and follows it character by characterOne character every 0.15 to 0.25 s (fixed seed); each character gets one power2.out move that pulls the caret back to 1440 px; 4 to 5 characters are in frame, with a horizontal smear that settles after each landingfollow—Make the opening shorter today
2.34–2.74sA short stop so the viewer feels the sentence is doneCamera and caret fully still for 0.4 sstatic——
2.74–3.74sPull back and hand the whole sentence to the viewerOne second of power3.inOut, move and scale in the same tween; the sentence lands centered at an effective 96 px without reflowingpull-back—Make the opening shorter today
3.74–5.04sTwo blinks and a retract close the lineFrom 0.1 s after the pull: off 0.25 s, on 0.25 s, twice, then a 0.2 s collapse to its centerstatic——
5.04–6sLet the sentence be readThe sentence stays fully still, no caretstatic—Make the opening shorter today

Parameters

ParameterDefaultRangeKind
Sentence to type
text
今天把开场改短一点—Content
Font size while typing
fontSize
360px240 – 420pxLook
First unit time
startAt
0.6s0.3 – 1.5sTiming
Random seed
seed
71 – 999Motion
Average gap
gap
0.2s0.12 – 0.4sMotion
Gap spread
jitter
0.05s0 – 0.1sMotion
Screen x of the resting caret
caretX
1440px1280 – 1600pxLook
Stop after the last unit
hold
0.4s0.2 – 1sTiming
Pull back duration
pullDuration
1s0.6 – 1.6sTiming
Equivalent font size after the pull
endSize
96px64 – 140pxLook
Half period of the blinks
blinkHalf
0.25s0.15 – 0.4sMotion
Text and caret color
ink
#121212—Look
Background
bg
#F6F5F2—Look

Good for

  • The moment a feature is typing in a launch or feature film
  • One short sentence (about 10 Chinese characters or 5 English words)
  • Making the viewer watch the caret first and read the whole sentence last

Not for

  • Multi-line or multi-paragraph copy
  • Whole-sentence fades or typo-and-backspace demos
  • Showing the whole sentence during typing (only the last four or five characters are visible)

Source

project
project/assets/fonts
project/compositions
← Previous30-Second Interface-Led Launch FilmNext →Pull-Back Reveal