AeroFlow Engine is a high-performance, real-time Computational Fluid Dynamics (CFD) sandbox.
Instead of running in JavaScript, the heavy lifting is done in C++17 and compiled to WebAssembly (WASM), running natively in the browser.
- Solver: Uses Jos Stam's "Stable Fluids" method with Gauss-Seidel relaxation to solve the Navier-Stokes equations for incompressible fluid flow.
- Vorticity Confinement: Mathematically recalculates lost curl forces to preserve energetic, highly detailed turbulence and smoke swirls.
- Zero-Copy Memory: The C++ engine and JS frontend share a raw memory buffer. The physics simulation runs on a low-res grid, while a JS HTML5 Canvas overlays crisp, high-res UI and shapes dynamically.