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

Weight Wave

A line starts at its thinnest; a bold wave about three characters wide sweeps left to right, each character settles at regular weight, and only the accent word ends heaviest. Weight only, no size or position change; for an opening claim or a chapter line.

Motion4s1920×1080 · 30fps
0s / 4sFrame 0
Copy it exactly
用 `/hyperframes` 做一个 1920×1080、30 fps、4 秒的标题动效,只有一行字,底色 `#F6F5F2`,字色 `#121212`,字号 160、行高 1.3,单行居中不换行,行的垂直中心在画面 45% 高度。西文用 Hanken Grotesk,中文用 Noto Sans SC(都是可变字体,`@font-face` 指向 `assets/fonts/`,`font-weight: 100 900`,不要联网取字体)。文案「每个细节,都有分量」,「分量」用强调色 `#D4412A`,颜色全程不变。

做法:
1. 把整句拆成单个字,每个字一个 `inline-block` 的格子,格子宽度固定:汉字和全角标点 = 字号,西文字母量出静止字重下的宽度。字形怎么变粗,格子都不动,所以位置不会抖。
2. 全句一开始就是 `font-variation-settings: "wght" 200`。
3. 波 0.3–1.5 秒:每个字依次先涨后落,只动 `font-variation-settings` 的 `wght`。
   - 全句 9 个字,波宽 3 个字,扫过全句 1.2 秒,字与字间隔 `1.2 ÷ (9 − 1 + 3)` = 0.1091 秒。
   - 每个字:涨 0.1309 秒,200 → 800;落 0.1964 秒,800 → 400;缓动 `sine.inOut`。第 i 个字(从 0 数)在 `0.3 + 0.1091 × i` 秒开始。
   - 用 GSAP 直接补间 `fontVariationSettings` 字符串(`'"wght" 200'` 到 `'"wght" 800'`),落段和后面的强调段都加 `immediateRender: false`,否则第 0 帧会显示成最粗。不要用回调函数改样式,跳帧时回调不会触发。
4. 强调 1.8–2.4 秒:「分」「量」一起 400 → 800,0.6 秒,`power3.out`。
5. 2.4–4.0 秒完全静止,其余字停在 400。
6. 不做缩放、位移、字距变化、颜色变化、淡入淡出。

需要替换的地方:
- 文案(变量 `headline`):中文 `每个细节,都有分量`,英文 `Every detail carries weight`(英文 27 个字符,字号会自动缩到整行 1536px 宽)。
- 强调词(`accentWord`,必须是文案里的连续子串):中文 `分量`,英文 `weight`。
- 颜色:强调色 `accentColor`、底色 `bg`、字色 `ink`;字号上限 `fontSize`。
- 字重:`weightFrom` 200、`weightPeak` 800、`weightRest` 400、`weightAccent` 800。
- 时间:`startAt` 0.3、`sweepDuration` 1.2、`waveWidth` 3、`waveEase` sine.inOut、`accentStart` 1.8、`accentDuration` 0.6、`accentEase` power3.out。
Learn the technique
可变字体的字重轴也能做动效:给每个字一个固定宽度的格子,再让一道约 3 个字宽的波扫过全句(1.2 秒,每字先涨 200 → 800 用 0.13 秒,再落 400 用 0.2 秒,`sine.inOut`),字只变粗细,不变大小和位置,波过后整句停在 400,最后只让强调词用 0.6 秒 `power3.out` 涨到 800。
MCP
get_video({ "id": "motion-text-weight-wave" })
Download project

Beats

TimePurposeVisualCameraTransitionOn-screen text
0–0.3sStarting stateThe whole line at wght 200; the accent word in the accent colorstatic—Every detail carries weight
0.3–1.5sWeight wave sweeps the lineAbout three characters wide; each rises to 800 in 0.13 s and falls to 400 in 0.2 s, sine.inOut, 0.109 s apart; fixed-width cells keep positions stillstatic——
1.8–2.4sOnly the accent word stays heaviestThe accent word rises from 400 to 800 in 0.6 s, power3.out; everything else staysstatic——
2.4–4sLet the viewer readFully still: no breathing or driftstatic——

Parameters

ParameterDefaultRangeKind
Headline
headline
每个细节,都有分量—Content
Accent word
accentWord
分量—Content
Accent color
accentColor
#D4412A—Look
Background
bg
#F6F5F2—Look
Text color
ink
#121212—Look
Max font size
fontSize
160px64 – 200pxLook
Start weight
weightFrom
200100 – 400Motion
Wave peak weight
weightPeak
800500 – 900Motion
Resting weight
weightRest
400300 – 600Motion
Accent final weight
weightAccent
800600 – 900Motion
Wave start
startAt
0.3s0 – 1sTiming
Sweep duration
sweepDuration
1.2s0.6 – 2sTiming
Wave width (characters)
waveWidth
31.5 – 5Motion
Wave ease
waveEase
sine.inOut—Motion
Accent start
accentStart
1.8s1.5 – 3sTiming
Accent duration
accentDuration
0.6s0.3 – 1sMotion
Accent ease
accentEase
power3.out—Motion

Good for

  • A single claim at the start of a film or chapter
  • Pointing at the key word without color or scale
  • Single-line copy in Chinese or English (7 to 12 characters, or 3 to 5 words)

Not for

  • Long or multi-line headlines
  • Setups without a variable font (the weight axis must be continuous)

Source

project
project/assets/fonts
project/compositions
← PreviousTyped Like a LetterNext →Word Swap in a Sentence