Letter focus
Signature
Gives one important word a slow, letter-by-letter reveal. A signature look. Use it only when the brand's style calls for it, never as a default.
Rendered video, with motion blur.
Your headline
0.00 / 1.54 s
Live preview, driven by the code below. No motion blur.
What it does
Letters sharpen one at a time, then the word pulls back.
Curve
Expo out
Values
S is the frame's short side, 1080 px at 1080p. Unmeasured inputs in the preview are illustrations, not rules.
| Fact | Value |
|---|---|
Purpose | Enter |
Acts on | Word |
Typical length | 1.54 s (46 frames at 30 fps) |
Caution | One short word only, never a sentence. |
| Property | Value |
|---|---|
Stagger | 0.045 s per letter |
Duration | 0.5 s per letter |
Blur | 2.2% S (24 px) to 0 |
Scale | 1.25 to 1 |
Word pull back | 0.5 s after the last letter sharpens |
Export samples | 12; 1 when still |
Code
ts
export const seg = (t: number, a: number, b: number) => Math.max(0, Math.min(1, (t - a) / (b - a)));
export const lerp = (a: number, b: number, k: number) => a + (b - a) * k;
export const out = (k: number) => (k >= 1 ? 1 : 1 - Math.pow(2, -10 * k));
export const io = (k: number) => (k < 0.5 ? 16 * k ** 5 : 1 - Math.pow(-2 * k + 2, 5) / 2);
export const inn = (k: number) => k * k * k;
export const cubicOut = (k: number) => 1 - Math.pow(1 - k, 3);
export const h = (i: number, j: number) => { const x = Math.sin(i * 127.1 + j * 311.7) * 43758.5453; return x - Math.floor(x); };
export const phase = (t: number, start = 0, duration = 0.6) => seg(t, start, start + duration);
export const easeInOut = (p: number) => p < 0.5 ? 4 * p ** 3 : 1 - (-2 * p + 2) ** 3 / 2;
export function letterFocus(t: number, index = 0, letters = 13) {
const k = out(phase(t, index * 0.045, 0.5));
const pull = out(phase(t, (letters - 1) * 0.045 + 0.5, 0.5));
return { blur: 24 * (1 - k), scale: lerp(1.25, 1, k), opacity: k, wordScale: lerp(1.25, 1, pull) };
}Rejected variants
| Tried | Verdict |
|---|---|
Letters left at the edge of an exit | Rejected: fade and blur as it's pushed |
Best practices
| Use it for | Avoid | Rejected before |
|---|---|---|
One short word | Paragraphs | Letters left at the edge of an exit |
A single text reveal | Leaving letters at the edge |
Reduced motion: a simple opacity fade over 0.2 s.