WebGPU Fluid Sim
In ProgressThis experiment explores the capabilities of the WebGPU API to render complex fluid dynamics at 60fps without taxing the CPU.
💡
Technical Note: The simulation uses a compute shader to calculate particle velocity vectors before passing them to the vertex buffer.
The goal is to create a library-agnostic implementation that can be dropped into any vanilla project. Currently, I am optimizing the memory buffer transfers between the GPU and the main thread.