Fluid Simulation
royhp.comThis experiment needs WebGL with floating-point textures, which aren’t available here.
Try a recent Chrome, Firefox, or Safari with hardware acceleration enabled.
Colour
Canvas
Drag your pointer (or finger) across the canvas to inject dye and velocity — the smoke swirls, advects, and diffuses while a pressure solver keeps the flow divergence-free. Push the dye and velocity dissipation sliders to make trails linger or fade, change the splat radius, toggle Rainbow vs a single teal, or Clear the field. Multi-touch works too.