Interactive 3D Lava Lamp Simulation

About Lava Lamp

This visualization uses raymarching to render a smooth union of intersecting spheres. The math operates entirely on the GPU via a custom WebGL fragment shader. Original formula credit to edankwan.

Desktop: Left-click and drag to rotate. Scroll to zoom. Click empty space to randomize.

Mobile: 1-finger drag to rotate. 2-finger pinch to zoom. Double-tap to randomize.