Chromatic Wave
Slow ambient wave travels down a title, letters ripple and split into red, green and blue chromatic-aberration fringes, then return to white. For poster holds and album covers. A free, MIT-licensed Remotion text animation.
In Remotion, Chromatic Wave sends a slow ambient wave down a title: where it passes, the letters ripple and split into red, green and blue fringes, and behind it they settle back to white. Use it for a held title such as an album cover, a poster hold or a music-video loop, where the text should stay alive rather than make a one-shot entrance.
$ pnpm dlx shadcn@latest add @remocn/chromatic-waveHow to build this in Remotion
You don't have to wire @remotion/noise and SVG filters together yourself. Install the component and pass your text:
npx shadcn@latest add @remocn/chromatic-waveIt is a single SVG filter chain driven by the current frame: feTurbulence and feGaussianBlur shape a moving depth map, feDisplacementMap warps three copies of the text, and feColorMatrix splits them into red, green and blue channels that recombine with screen blending. The band's travel is one interpolate() over mapTravelFrames. No font loading and no @remotion/noise are involved.
Good to know
- Length: 150 frames of motion at 30 fps (300 at 60 fps) with the default props. The demo composition plays 100 frames, which adds a hold. The wave crosses in
mapTravelFrames(150 at 30 fps); the demo cuts at 100. A composition longer than the travel holds the settled white title. The Usage example below is a 60 fps composition, so the numbers it hands to Remotion are doubled, see Frame rate. - Installs:
remotionfrom npm, plus the remocn helpersframe-rate,timeline. The shadcn CLI copies the source into your project. - Font: a Helvetica / Arial system stack for both lines, set through
headlineFontFamilyandkickerFontFamily. Nothing is loaded. - It paints its own
background(default#000000), because the red, green and blue copies only add back up to white over black. - The kicker lines are always drawn; pass
kicker=""to leave them empty. - Positions are in absolute pixels for a 1920×1080 frame (
width,height,textCenterX, baselines). At another size, set those props to match. - The filter chain is heavy to paint: expect slower renders than a plain text animation.
Usage
// src/Root.tsx
import { Composition } from "remotion";
import { ChromaticWave } from "@/components/remocn/chromatic-wave";
const ChromaticWaveScene = () => (
<ChromaticWave headline="MUSIC" kicker="APPLES" />
);
export const RemotionRoot = () => (
<Composition
id="ChromaticWave"
component={ChromaticWaveScene}
durationInFrames={200}
fps={60}
width={1920}
height={1080}
/>
);Three copies of the type are displaced by the same traveling wave at three
different depths — one per color channel — and summed back together with
screen blending. Where the copies still coincide the sum is white; where the
depths pull them apart, red, green and blue fringes appear. The component
paints its own background (default black) because the reassembly is only
exact over black.
Props20
| Prop | Type | Default |
|---|---|---|
| headline | string"MUSIC" The large center line | |
| kicker | string"APPLES" The small tracked line, repeated above and below the headline | |
| headlineFontFamily / kickerFontFamily | stringHelvetica stack Fonts of the two lines | |
| headlineFontSize / kickerFontSize | number174 / 52 Font sizes in comp pixels | |
| kickerTracking | number32 Letter spacing of the kicker lines | |
| headlineBaselineY / kickerBaselines | number / [number, number]601 / [444, 670] Baselines of the three lines in comp pixels | |
| textCenterX | number960 Horizontal center of the type | |
| fill | string"#ffffff" Color of the type before the split | |
| background | string"#000000" Painted stage background. Keep it dark — the channel reassembly is only exact over black | |
| width / height | number1920 / 1080 Coordinate space of the composition | |
| bandHeight / bandCopies / bandPitch | number147.1 / 7 / 750 Geometry of the traveling distortion bands | |
| mapStartY / mapEndY / mapTravelFrames | number31 / 1560 / 150 The bands' travel. Deliberately linear — an ease reads as the ripple hesitating inside the word | |
| waveHeight / waveWidth / waveSpeed | number28 / 272 / 1 The sine ripple on each band's edges | |
| turbulentAmount / turbulentSize | number130 / 163 Turbulent displacement breaking the wave's regular rhythm | |
| evolutionPerSecond | number50 How fast the turbulence field pans | |
| mapBlurRadius / mapBlurIterations | number13 / 6 Blur on the displacement map — without it the map's edges tear the output | |
| glassDisplacement / maxDisplacementPx | number100 / 39 Displacement strength, and the pixel span it maps to | |
| glassPasses | number3 How many depth passes — also how many channels split | |
| channelOrder | ("red" | "green" | "blue")[]["blue", "green", "red"] Which channel rides which depth, shallowest first | |
| className | string— Optional className passed to the wrapper | |
- headlinestring
The large center line
Default
"MUSIC" - kickerstring
The small tracked line, repeated above and below the headline
Default
"APPLES" - headlineFontFamily / kickerFontFamilystring
Fonts of the two lines
Default
Helvetica stack - headlineFontSize / kickerFontSizenumber
Font sizes in comp pixels
Default
174 / 52 - kickerTrackingnumber
Letter spacing of the kicker lines
Default
32 - headlineBaselineY / kickerBaselinesnumber / [number, number]
Baselines of the three lines in comp pixels
Default
601 / [444, 670] - textCenterXnumber
Horizontal center of the type
Default
960 - fillstring
Color of the type before the split
Default
"#ffffff" - backgroundstring
Painted stage background. Keep it dark — the channel reassembly is only exact over black
Default
"#000000" - width / heightnumber
Coordinate space of the composition
Default
1920 / 1080 - bandHeight / bandCopies / bandPitchnumber
Geometry of the traveling distortion bands
Default
147.1 / 7 / 750 - mapStartY / mapEndY / mapTravelFramesnumber
The bands' travel. Deliberately linear — an ease reads as the ripple hesitating inside the word
Default
31 / 1560 / 150 - waveHeight / waveWidth / waveSpeednumber
The sine ripple on each band's edges
Default
28 / 272 / 1 - turbulentAmount / turbulentSizenumber
Turbulent displacement breaking the wave's regular rhythm
Default
130 / 163 - evolutionPerSecondnumber
How fast the turbulence field pans
Default
50 - mapBlurRadius / mapBlurIterationsnumber
Blur on the displacement map — without it the map's edges tear the output
Default
13 / 6 - glassDisplacement / maxDisplacementPxnumber
Displacement strength, and the pixel span it maps to
Default
100 / 39 - glassPassesnumber
How many depth passes — also how many channels split
Default
3 - channelOrder("red" | "green" | "blue")[]
Which channel rides which depth, shallowest first
Default
["blue", "green", "red"] - classNamestring
Optional className passed to the wrapper
Inspired by 5 Clean Text Animations by Mapal.
Common questions
How do I get a slow wave to ripple down a title and split the letters into RGB fringes?
Install Chromatic Wave with npx shadcn@latest add @remocn/chromatic-wave and pass headline and kicker. The wave crosses over mapTravelFrames and leaves the title white.
Can I hide the small kicker lines?
Yes, pass an empty kicker.
Can it sit over a photo or transparent background?
Not cleanly. The color split only recombines to white over black, so it paints a black background by default.
Related effects
- RGB Glitch Text: a quick RGB glitch accent instead of a slow wave.
- Weight Wave: a weight wave across a line.
- Kinetic Warp: a heavy word bends and snaps with a mesh warp.
- Infinite Marquee: a looping text band for ambient motion.