GPU N-Body · WGSL · real-time

A galaxy,
integrated on your GPU.

fps
bodies
pairwise / s
frame ms

Every frame, each body feels the gravity of every other — an O(N²) sum run as a tiled WebGPU compute shader, stepped by a symplectic integrator so the disk keeps its shape instead of drifting apart. No server, no precompute. It is all happening on your GPU, right now. Drag to orbit, scroll to zoom.