Component · Animated backgrounds

Molten lava background

by Informeek Studio 11 November 2026
Live Move the cursor to melt the crust, click for a heat bloom

The prompt

Build a lava background for a wood fired pizza oven brand with a WebGL fragment shader. Cover the screen in dark basalt plates (#0d0908 to #15100e, each plate a slightly different tone with fine noise texture) separated by glowing cracks. Make the plates from Voronoi cells over coordinates warped by two layers of fractal noise, with the cell centres slowly circling, and measure each pixel's distance to the nearest cell edge. Map heat onto a fire ramp from black through deep red (#c22a05), orange (#ff6a14) and gold (#ffcf6e) to a white hot core, with crack width and glow growing with heat. Heat comes from slow noise, a hot spot that follows the pointer and melts the crust around it, and a bloom ring that rolls outward for about 1.5s after a click or tap. Cool the crust behind the text. When the pointer has been idle for 2.5s the hot spot wanders on its own, which covers phones. Render at 60% resolution since the subject is soft. Copy: gold uppercase label "Basalt and Ember ovens", an 84px extra bold cream (#fff4e6) headline "Pizza in ninety seconds flat", one line and a gold to orange gradient pill button "Find your oven". Show CSS radial glows without WebGL and a still frame for reduced motion.

Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.

Use it in three steps

  1. Copy the prompt with the button above.
  2. Paste it into your AI site builder, or any AI chat that writes code.
  3. Make it yours by changing the fire ramp colours and the size of the plates.

About this lava background

A lava background has to feel hot without turning the page into a fire. The trick is to show the moment lava starts to cool: dark basalt plates drift slowly over a molten layer, and the cracks between them glow orange, gold and white. Move your cursor and the crust beneath it heats up, the cracks widen and the plates around them blush red. Click and a ring of heat rolls outward through the surface.

The plates are Voronoi cells, the same maths behind cracked mud and giraffe patterns, drawn over coordinates bent by fractal noise so no two edges are straight. Each pixel measures its distance to the nearest crack and turns that into a temperature on a fire colour ramp. Because the image is soft, the canvas renders at 60 percent resolution, and the crust cools to almost black behind the headline so the cream text stays clear.

Why the prompt works

  • It names the Voronoi technique and the edge distance it needs.
  • It defines heat, where it comes from and what it changes.
  • It gives the fire ramp in hex, which sets the whole mood.
  • It lowers the resolution on purpose to stay fast.

Where to use it

Ovens, grills, hot sauce, fitness and energy brands, or game and music launches that want real heat.

The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.

Keep exploring

More prompts like this

See the collection →
Live
Component · Animated backgrounds

Aurora background hero

Live
Component · Animated backgrounds

Interactive dot grid background

Live
Component · Animated backgrounds

Warp speed starfield background