Solar systems, spiral galaxies, gravitational body interaction and orbital mechanics — all in real time, right in the browser.
Open a simulation — it runs right in your browser, no installation needed
Articles and tutorials about space & astronomy
Gravity, orbits, and the cosmos — explored through real physics
Space and astronomy simulations bring celestial mechanics to life. From Kepler's orbital equations to N-body gravitational dynamics, every object follows the same physics that governs real planets, stars, and galaxies. You can watch how gravity shapes spiral galaxy arms, how planets maintain stable orbits, and what happens when massive bodies collide or a star exhausts its nuclear fuel on the Hertzsprung–Russell diagram.
The simulations use energy-conserving integrators — Leapfrog and Velocity Verlet — that keep long-running trajectories numerically stable. By tweaking central mass, orbital eccentricity, or stellar mass, you develop intuition for the forces that sculpt the universe across every scale: binary star systems, Lagrange point trojans, gravity-assist flybys, and colliding galaxies.
Modern computational astronomy relies on the same numerical techniques used here — leapfrog integration for satellite trajectory planning, N-body codes for galaxy-formation research, and HR diagrams for stellar classification. Running these simulations in a browser makes the underlying mathematics tangible: you can directly see how a slight increase in orbital velocity shifts a circular orbit to an ellipse, or how a third body's perturbation can eject a planet from a stable system entirely.
Topics and algorithms you'll explore in this category
5 questions — orbits, light-speed, black holes and more
Common questions about this simulation category