Text Rail
Kinetic typography flowing along 9-point Catmull-Rom Bezier splines.
Kinetic typography flowing along 9-point Catmull-Rom Bezier splines.
Continuous kinetic typography running along 9-point Catmull-Rom cubic Bezier splines. Scroll impulses and velocity dynamically bend the spline curve and rotate the track cluster.
| Prop | Type | Default | Description |
|---|---|---|---|
| amp | number | 0.16 | Spline wave curve amplitude relative to viewport height. |
| freq | number | 1.6 | Harmonic wave cycle frequency across the track. |
| size | number | 0.2 | Font size scalar relative to viewport height. |
| speed | number | 0.2 | Idle text drift velocity. |
| gain | number | 1.2 | Scroll translation acceleration gain. |
| bend | number | 1.2 | Kinetic velocity path bend factor. |
| rails | number | 3 | Number of parallel text tracks (1 to 4). |
| gap | number | 0.28 | Vertical spacing between tracks. |
| outline | number | 0.55 | Outline fill ratio on alternating lines. |
| line | number | 0.25 | Guide wire path stroke opacity. |
| rot | number | -8 | Base angular rotation tilt of the rail group in degrees. |
| skew | number | 1 | Scroll velocity angular skew amplification. |
| drift | number | 0.5 | Harmonic phase drift speed. |
| inertia | number | 0.12 | Kinetic scroll smoothing factor. |
| vgain | number | 1 | Velocity calculation multiplier. |
| bg | string | "#101014" | Container backdrop fill. |
| ink | string | "#f2efe8" | Primary text fill color. |
| c2 | string | "#ff4a2b" | Accent text color for alternating lines. |
| captureWheel | boolean | false | Capture wheel events directly on container. |
| autoScroll | boolean | false | Enable auto-scroll drift animation. |
| paused | boolean | false | Pause animation loop manually. |