ABOUT

Multicolor fluid simulation that accurately accounts for angular momentum (vorticity/spin).

A subtle physical caustic is draw onto the simulation using the pressure field of the fluid.

Adjust the inputs above to change the size of the canvas and how fast the simulation is calculated.

With a small enough window, the simulation can run many times per frame.

The slider controls how sensitive the simulation is to mouse input.

View the source to see the code.

