Lava lamp
Groovy
Text
Type
Colour
Ground
Motion
About this effect
Lava lamp turns each line of your heading into a lamp. The letters are glass filled with coloured liquid, and blobs of wax rise slowly out of a warm pool at the bottom, stretch long as they climb, linger at the top as they cool, then sink back and melt into the pool again. Two blobs that meet run together and pull apart, the way the wax does. The liquid glows warmer near the bottom where the bulb would be, and the glass has a shaded edge, a bright rim and a sheen down every letter.
The wax is a field of soft blobs worked out on a coarse grid every frame and lit from below, then drawn up smoothly; the glass is drawn once at full size and the crisp letters cut it all out, so the edges stay sharp. Hold the pointer over the words and it warms the wax under it, which swells and lifts. It is drawn on a canvas from the heading's own letters (font, size and line breaks are the page's), and the heading keeps your words for screen readers and search.
Wax sets how much of it there is. Heavy, rounded letters show the most wax; it suits anything retro, calm or late-night: music, cafes, bars, sleep and slow living.
- Formats
- React, HTML
- No dependencies
- Built with
- Canvas, over real text
- Default font Fraunces
- Plays
- Loop, Hover
- Reduced motion
- Respected
- Shows the finished frame
Accessibility. One real heading, read once; the lamp is drawn on a canvas hidden from screen readers. Under reduced motion the wax is still: one frame of the lamp is shown.
Also known as lava lamp text, groovy text effect, metaball text, blob text animation, retro 70s text, liquid wax text.
Use it in anything you build, client work included, no credit needed. Don’t republish or resell the effect itself.