Toggle light/dark

Langrangian Fluid Simulator w/CMU Graphics

Fluid DynamicsPythonMath
repo ↗ demo ↗

A small fluid simulation written using CMU graphics with Smoothed Particle Hydrodynamics. Implements pressure, density, and viscosity dynamics with Poisson solving (SOR) and smoothing kernels. Optimized with spatial hashing.

a snapshot from the program

A fun little project I tackled with the help of a paper for my 112 term project. Simulates fluids using SPH, and implements physical quantities with a few cool optimizations (SOR, hashing, over-relaxation).

See the github repo for more!