Skip to content
Browser Screensaver

Lava Lamp Screensaver

Blobs drifting up and down, stretching towards each other and merging when they meet, then pulling apart into separate drops. A lava lamp with no wax, no bulb and nothing to plug in.

Press F for fullscreen, Esc to exit.

What the lava lamp screensaver is

The blobs are metaballs — a technique from early computer graphics where nothing is drawn as a shape at all. Each blob defines a field that gets weaker with the square of the distance from its centre. Every point on the screen adds up the fields from all of the blobs, and wherever that total crosses a threshold, that is the surface.

That single rule is why they behave like liquid. As two blobs approach, the fields between them add together and cross the threshold before the blobs touch, so a neck forms and pulls them into one shape. Nothing anywhere in the code knows what merging is; it falls out of the addition.

  • A slow, warm background for a room, a shop or a waiting screen
  • Ambient visuals for music that should not have to compete
  • A lava lamp for a desk that has no room for a lava lamp

Metaballs as a lava lamp screensaver

Blobs sets how many are in the lamp. Two or three gives you long, slow encounters where each merge is an event; the default of six keeps something happening at all times, and nine turns the screen into a single churning mass. Each one rises and falls at its own rate and sways sideways on its own cycle, so they never fall into step.

The colour control sets the blobs themselves and the whole palette is rebuilt around it, including the darker background and the bright core, so any colour looks deliberate rather than tinted.

How to run the lava lamp screensaver full screen

Press the fullscreen button on the player, or the F key. Escape brings you back to the page. On a desktop browser F11 does the same job and hides the browser’s own toolbars as well, which is what you want on a display that is going to be left running.

Everything you change in the settings is written into the address bar as you change it, so the version you have set up is a link. Bookmark it, or send it to whoever is running the screen. Space pauses and resumes at any time.

Questions

What are metaballs?

A way of drawing organic shapes, published by Jim Blinn around 1980. Instead of drawing objects, you define a mathematical field for each one that falls off with distance, add all the fields together, and draw the boundary where the total reaches a chosen value. Shapes that come near each other merge automatically, which is what makes them look like liquid.

Why do the blobs merge instead of overlapping?

Because they are never drawn as separate objects. The screen shows one surface through a single combined field. When two blobs get close, the field in the gap between them is the sum of both and crosses the threshold, so the gap fills in and the pair becomes one shape.

Does it run well on an old machine?

Yes. The field is computed on a grid about two hundred pixels across and scaled up, so the cost barely changes between a laptop screen and a 4K television, and it stops entirely when the tab is not visible.

Is the lava lamp screensaver free?

Yes — free, with no account, no download, no watermark and no time limit. It is a web page, so it runs on anything with a modern browser.

How do I stop it or exit fullscreen?

Press Escape to leave fullscreen, or F to toggle it. Space pauses the animation without leaving the page. If you used F11 to hide the browser toolbars, press F11 to bring them back.