🔥 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
- python3 -m http.serverin project root
- Go to localhost:8000or whatever port it starts at
- Interact with fire by clicking and dragging
