Animate Text
Animate text with 15+ effects: typewriter, fade-in, bounce, glitch, wave, rainbow & more. Preview live, copy CSS or export as GIF-ready canvas.
About
Text animation converts static strings into temporal sequences where each character ci receives a computed delay di = i × Δt. Getting timing wrong produces jittery, unreadable output that damages user perception within the first 200ms of exposure. This tool implements 15 distinct animation algorithms - from cubic-bezier eased fades to per-character trigonometric wave displacement - each parameterized by speed, direction, and iteration count. It renders in real-time DOM with hardware-accelerated CSS transforms.
The tool approximates continuous motion through discrete frame steps at 60fps. Particle effects use Euler integration with linear drag coefficient k = 0.98. Note: animations using sin-based displacement may produce visual aliasing on low-DPI screens below 96dpi. Pro Tip: keep animated strings under 80 characters for optimal readability during motion.
Formulas
Each character ci in a string of length n receives an animation delay computed as:
Wave displacement uses a sinusoidal function applied per-frame at time t:
Rainbow color cycling maps character index to hue angle:
Particle physics applies Euler integration with drag per frame:
Where A = amplitude in pixels, f = frequency in Hz, φ = phase offset per character, k = drag coefficient (0.98), g = gravity vector, speed = user multiplier (0.5 - 3.0), rate = hue rotation speed in °/frame.
Reference Data
| Animation | Transform Property | Easing | Per-Char Delay | Best For |
|---|---|---|---|---|
| Typewriter | opacity | step-end | 80ms | Headings, terminals |
| Fade In Up | opacity, translateY | ease-out | 50ms | Hero sections |
| Fade In Down | opacity, translateY | ease-out | 50ms | Subtitles |
| Bounce In | opacity, scale | cubic-bezier(0.68,-0.55,0.27,1.55) | 60ms | Playful UI |
| Scale Up | scale, opacity | ease-out | 40ms | Emphasis text |
| Rotate In | rotateX, opacity | ease-out | 55ms | 3D feel headers |
| Slide Left | translateX, opacity | ease-out | 45ms | Navigation items |
| Slide Right | translateX, opacity | ease-out | 45ms | List entries |
| Wave | translateY via sin | continuous | 100ms phase | Looping banners |
| Glitch | translateX, skewX, clip | random steps | 70ms | Cyberpunk, gaming |
| Rainbow | color HSL cycle | linear | 30ms phase | Creative, kids |
| Blur Reveal | filter: blur, opacity | ease-in-out | 60ms | Cinematic reveals |
| Elastic | scaleX | cubic-bezier(0.68,-0.6,0.32,1.6) | 65ms | Attention-grabbing |
| Drop In | translateY, opacity | bounce | 70ms | Game scores |
| Flip In | rotateY, opacity | ease-out | 55ms | Card reveals |
| Matrix Rain | opacity, random chars | step-start | 40ms | Hacker aesthetic |