Skip to content

averystraumann/fluid-sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fluid-sim

fluid simulator using processing!

reference: https://mikeash.com/pyblog/fluid-simulation-for-dummies.html

a fluid simulation made using mike ash's guide, but changed to two dimensions. this sim is based on the navier-stokes equations for fluid dynamics :)

by dragging your mouse around, you add "dye" into the fluid environment, which has a different density of the base fluid. this interacts with the rest of the fluid, demonstrating diffusion, advection, and projection. i recommend reading the linked paper to understand these more!!

there is a video demo in this repository, but to try it yourself, make sure you have processing installed, and then you can download the source code and run it!

Screenshot 2023-07-28 124512

Releases

No releases published

Packages

No packages published