Note: This is one of my bachelor projects from ~2015. It’s based on the research by Jos Stam on fluid dynamics. This is far away from being perfect or performant but it did the trick back in the day, if you know what I mean 🙂
This Java applet is a simple implementation of a 2D fluid simulation according to the Navier-Stokes equation. The research by Jos Stam was used to implement algorithms for a numerical solution to this equation. For the sake of simplicity, an implementation on the GPU has been dispensed with. This and the use of elaborate algorithms, such as the Gauss-Seidel method for solving linear equations, results in a relatively poor performance.