🧪 N-Body Simulation: Cold Collapse and Virial Relaxation of a Star Cluster in Top View
Interactive 2D top view of an N-body star cluster: direct-summation softened gravity with a leapfrog integrator, cold collapse and violent relaxation, virial ratio, Lagrangian radii, energy ledger and five in-page numerical checks.
⚙ Under the hood
Interactive 2D top view of an N-body star cluster: direct-summation softened gravity with a leapfrog integrator, cold collapse and violent relaxation, virial ratio, Lagrangian radii, energy ledger and five in-page numerical checks.
N-Body SimulationGravitational InteractionsParticle Dynamics
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install