-- fps | 0 layout reflows

pretext-animate

Physics-based text animations with zero layout reflows. All character positions pre-computed via Pretext. Only transforms and opacity during animation.

120fps on mid-range devices

5 Built-in Effects

pre-computed positions
Spring Bounce-in
Characters bounce up from below with damped spring physics. Natural, playful motion.
Scramble Reveal
Random characters cycle rapidly before resolving to the real text. Matrix-style decode.
Typewriter
Characters appear one by one with a satisfying pop. Classic and clean.
Wave
A sine wave propagates through the text. Characters bob up and down rhythmically.
Fade by Word
Words fade in and slide up one by one. Elegant and readable.

Playground

1200ms
30ms

Side-by-Side Comparison

see the difference

With Pretext

SMOOTH
0 reflows | transform + opacity only

Traditional DOM

JANKY
N reflows/frame | width/height changes