Fluid
GPU2D Navier-Stokes fluid simulation with dye advection.
Implements Stable Fluids on the GPU: semi-Lagrangian advection, Jacobi pressure solver, and Gaussian force emitter. Dye injection visualizes the flow field. Buoyancy drives dye upward.
Parameters
| Name | Type | Range | Default | Description |
|---|---|---|---|---|
| grid_size | Simulation resolution. Higher = more detail, more cost. | |||
| iterations | Jacobi pressure solver steps. More = more accurate, slower. |
Related Operators