flow are implementations of fluid mechanics simulation for graphics. Amanda Ghassaei posted a very cool blog about digital marbeling.

In my quest to build things from scratch in order to accidentally break something and discover something new, I implemented “Real-Time Fluid Dynamics for Games” by Jos Stam.

I also implemented it with shaders:

and broke some things to see how it’d look: