Lava Lamp Screensaver
The Lava Lamp screensaver is a free, in-browser animation of glowing blobs that slowly drift, merge and split like molten wax. It uses a metaball technique, where overlapping circular fields blend into a single gooey shape. There is nothing to download or install, and you press ESC at any time to exit.
How the Lava Lamp screensaver works
Each blob is a moving circle with a position and a constant velocity. On every frame the blobs nudge along their direction and bounce off the edges of the frame, so they wander the screen forever without ever leaving it.
The gooey look comes from a metaball field. For every pixel the code sums an influence from each blob equal to its radius squared divided by the squared distance to that blob, so nearby blobs contribute strongly and distant ones barely at all. Where the combined field crosses a threshold of 1, the pixel is painted; otherwise it stays the background color.
Inside the lit region the field value is mapped through a four-stop color gradient, so the densest cores glow brightest while the thin edges fade toward the background. That is why two blobs appear to stretch and fuse into one mass as they approach, then snap apart as they separate.
For speed, the whole field is computed on a small offscreen buffer and then scaled up to fill the screen. Turning on Soft glow enables image smoothing during that upscale, which softens the blobs into a true liquid blur.
A worked example
With the defaults — Blobs 6, Flow speed 4 and the Lava palette — six metaballs roam a low-resolution field. Flow speed 4 scales the per-frame drift, so the blobs glide unhurriedly. The Lava gradient runs from dark red cores through orange to a pale yellow rim, and with Soft glow on the upscale blurs every edge into that classic molten wax look.
Settings & tips
- Lower Flow speed toward 1 for a hypnotic, almost-still ooze, or push it to 10 for restless, fast-merging blobs.
- Switch the Palette from Lava to Ocean, Toxic or Mono to recolor the gradient without changing the motion.
- Add more Blobs (up to 12) for a busier, more interconnected field, or drop to 3 for clean, isolated globs.
Frequently asked questions
- Is the lava lamp screensaver free?
- Yes. The Lava Lamp screensaver is completely free and runs in your web browser with nothing to download or install.
- How do I exit the lava lamp screensaver?
- Press the ESC key to exit at any time. Moving the mouse or pressing any key also returns you to the page.
- What are the blobs made of?
- They are metaballs, a graphics technique where overlapping circular fields blend into one smooth shape. This is what makes the blobs merge and split so smoothly.
- Can I change the lava lamp colors?
- Yes. The Palette control offers Lava, Ocean, Toxic and Mono, and you can set your own background color underneath the glow.
- Does the lava lamp screensaver need a download?
- No. It runs entirely in the browser, so there is no app, plugin or installer required on Windows, Mac or Linux.