PPolySim OS

WebGPU Fluid

Stir a high-resolution smoke field that lives entirely on your GPU. A compute shader advects density through a swirling velocity field every frame — drag to add more.

WebGPU Fluid StudioLive

Controls

Click and drag on the canvas to inject smoke into the 256×256 GPU field.

Data Inspector

Backendstarting…
Grid256×256
Cells65,536
FPS

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Each cell of a 256×256 density field is updated by a WGSL compute shader that traces the flow backward in time (semi-Lagrangian advection) and samples the previous frame with bilinear interpolation, then a fullscreen fragment shader renders it — a full GPU compute+render loop with ping-pong storage buffers. This is the browser doing the kind of grid simulation that used to require a desktop and a dedicated GPU toolkit.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More WebGPU simulations

Frequently asked questions

Is this GPU fluid simulation tool really free?
Yes. WebGPU Fluid runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.