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.

N-body — 4 096 bodies, every pair, every frame

Deliberately brute force: no acceleration structure, 16.7 million softened force pairs per step, tiled through workgroup shared memory and advanced with a symplectic kick-drift integrator so orbits do not spiral out.

Poster: a glowing disc of thousands of orbiting points around a bright core

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

4,096 bodies · 16,777,216 force pairs per step on TSL compute.