Personal project / Simulation
Slipstream.
Draw a shape. Watch a wind tunnel find its way around it.
Open project Live in a browser
My work
The fluid solver, drawing tools, visualization and shareable shape format.
Working with
WebGL 2 · GLSL · Multigrid solver
Inside the build
Drawing into the simulation.
Context
The flow needs to update as obstacles are drawn or changed.
How it works
The GPU updates two-dimensional velocity and pressure fields. Drawn shapes become obstacles in the simulation, which uses a multigrid pressure solve.
In the work
The running browser experiment supports drawing, presets, flow visualization and shapes shared through a URL. Its drag readout models pressure only.
- Simulation
- WebGL2 shader passes advance velocity and project the field through a pressure solve.
- Interaction
- A sketch becomes an obstacle in the same running wind tunnel.
- Model boundary
- A two-dimensional, pressure-only experiment; it does not estimate total aerodynamic drag.