A simple 2D grid based fluid simulation. You can use a brush to place white dye witch gets velocity applied according to your mouse movement.
To run this project you'll need to open it in the Unity game engine: https://unity3d.com/
| Example A | Examle B |
|---|---|
![]() |
![]() |
- The Coding Train - https://www.youtube.com/watch?v=alhpH6ECFvQ/
- Memo S. Akten - https://www.memo.tv/works/msafluid/
- Mike Ash - Fluid Simulation for Dummies: https://mikeash.com/pyblog/fluid-simulation-for-dummies.html
- Jos Stam - Real-Time Fluid Dynamics for Games: https://www.dgp.toronto.edu/public_user/stam/reality/Research/pdf/GDC03.pdf

