Physics

Rigid bodies run on Rapier (WASM, CPU). Boids, fluid, cloth and N-body run entirely on the GPU as TSL compute passes — no per-frame readback.

SPH-lite — 256 000-particle dam break

Weakly compressible SPH: neighbour grid → density and pressure → pressure, viscosity and gravity forces → integration, as ordered compute passes each substep. Raise the timestep or stiffness to watch the integration go unstable — that is physics, not a shader bug.

Poster: a block of blue particles collapsing into a tank

Reduced motion is on — showing the poster instead of the live scene.

256,000 particles on TSL compute.