/fluid-simulation

My attempt at fluid simulation with the Navier Stokes equations

Primary LanguageTypeScriptMIT LicenseMIT

Interactive fluid simulation with navier stokes equations

demo gif

Live Demo https://akin-fluid-simulation.netlify.app/

Resources

Real-Time Fluid Dynamics for Games by Jos Stam
Fluid Simulation SIGGRAPH 2007 Course Notes by Robert Bridson and Matthias Muller-Fischer
Gonkee's video
3Blue1Brown's video on divergence and curl
The Coding Train's video

Contribution

Assuming you have cargo and wasm-pack installed:

  • Run wasm-pack-build to compile rust code to web assembly
  • cd into the web directory and run npm run start:dev the application will open up on localhost:8000