This graphics project implements a simple fluid simulation in Python using NumPy and Pygame, and is based on the Navier-Stokes equations using a grid.
demo.mp4
It was made mainly with the help of The Coding Train's video Coding Challenge #132: Fluid Simulation, Mike Ash's article Fluid Simulation for Dummies, and Jos Stam's paper Real-Time Fluid Dynamics for Games. The Ten Minute Physics video 17 - How to write an Eulerian fluid simulator with 200 lines of code was also very helpful.