🧪 Astrophysics N-Body Gravitational Simulation
Real-time N-body gravity: Solar System from JPL elements, Kirkwood gaps, figure-eight and Pythagorean three-body, galaxy collision, star cluster. Leapfrog, RK4, Barnes-Hut.
⚙ Under the hood
Explore the fundamental principles of astrophysics by simulating the gravitational interactions between multiple celestial bodies – stars, planets, and galaxies. This N-body simulation allows you to observe how these forces shape cosmic structures over time, offering insights into galaxy formation and stellar evolution.
N-Body SimulationGravitational DynamicsGalaxy Formation
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install