Skip to content

andrewkchan/fire-simulation

Repository files navigation

fire-simulation

🔥 Real-time fire simulation on the GPU!

  • 2D Fluid simulation (uniform grid, simulating incompressible fluid with semi-lagrangian advection)
  • Thermal model for fire (buoyancy + cooling)
  • Simulation steps are done in parallel on the GPU via WebGL fragment shaders

Instructions

  • python3 -m http.server in project root
  • Go to localhost:8000 or whatever port it starts at
  • Interact with fire by clicking and dragging

About

🔥 Real-time fire simulation on the GPU!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published