Home

Awesome

Rainbow

Fluid simulation

<img src="https://raw.githubusercontent.com/charles6286/RainbowFluid/master/Rosa.png" alt="Example of fluid" width="200" height="300"><img src="https://raw.githubusercontent.com/charles6286/RainbowFluid/master/Amarelo.png" alt="Example of fluid" width="200" height="300"><img src="https://raw.githubusercontent.com/charles6286/RainbowFluid/master/Verde.png" alt="Example of fluid" width="200" height="300"><img src="https://raw.githubusercontent.com/charles6286/RainbowFluid/master/Azul.png" alt="Example of fluid" width="200" height="300">

Real-time fluid simulation based on Alexander McKenzie's semi-Lagrangian implementation (2004) for a fluid solver as proposed by Jos Stam in Stable Fluid (1999).

Find more information in Caltech's Multi-Res Modeling Group.

Instructions

  1. Tweak numbers at the page source.
  2. Click and drag in the Playground area to add Dye or change Velocity in the fluid.