Galaxy simulation

2026 · JavaScript · WebGPU

Real-time N-body galaxy simulation — Barnes-Hut gravity, dark-matter halos, star formation. Pure WebGPU: particle state never touches the CPU during the frame loop.