← index

N-Body Galaxy

A rotating disk of stars under gravity: a central potential plus brute-force O(N²) mutual attraction on the GPU, drawn as additive glow.

interactive