Fluids-2D
Real-time fluid dynamics running on the GPU with the help of WebGL and Three.js. It is simulated with the Navier-Stokes Equations with the simplified assumption of incompressible, homogeneous fluid.
Demo
Play around with fluids here. Note that you will most likely have performance issues if you are running on a integrated graphics card.
References
- Jos Stam. Stable Fluids. In Proceedings of SIGGRAPH. 1999.
- Jos Stam. Real-Time Fluid Dynamics for Games. Proceedings of the Game Developer Conference. 2003.
- Mark Harris. Fast Fluid Dynamics Simulation on the GPU. In GPU Gems: Programming Techniques, Tips, and Tricks for Real-Time Graphics (Chapter 38). 2004.