Stable fluids on the GPU
Put the speed, pressure, and ink into two render targets (ping pong), and turn the second stream → divergence → pressure Jacobi → tilt subtractor into the shader pass, and when the hand is stir, the ink swirls into the GPU.
- Category
- Physics simulation
Technical terms · Stable Fluids on GPU (Jos Stam · GPU Gems ch.38) · Render target ping-pong (WebGLRenderTarget, HalfFloatType) · Pressure projection (Jacobi iterations) · Vorticity confinement