Skip to content
All apps

Solar system (3D)

About this app

Eight planets on real elliptical orbits — Kepler's equation solved numerically, speed via slider from days to years per second.

Kepler’s laws

Planets move on ellipses with the Sun at one focus (Kepler’s first law). How stretched an orbit is, is measured by its eccentricity e: Earth’s orbit, with e ≈ 0.017, is almost a circle, while Mercury’s, with e ≈ 0.21, is clearly elliptical. A planet moves faster near the Sun than far from it (second law), and the square of the orbital period grows with the cube of the semi-major axis (third law). That is why Neptune needs about 165 years for one orbit.

What the app shows

All eight planets from Mercury to Neptune move with their real orbital elements: semi-major axis, eccentricity, inclination and period. Each position comes from Kepler’s equation M = E − e · sin E, which the app solves numerically for E at every time step. Distances are compressed with a square-root scale so everything fits on screen; orbit shapes and periods stay correct. Earth has its Moon, Saturn its rings, and a list shows each planet’s orbital period.

Try it

Turn up the speed until Neptune visibly moves, and watch Mercury complete many laps in the same time. Clicking a planet in the scene or in the list highlights its orbit and flies the camera to it. Keep an eye on Mercury speeding up at its closest point to the Sun. Orbits and labels can be hidden, and a clock counts elapsed days and Earth years.

Frequently asked questions

Why do planets move in ellipses rather than circles?
A circle is just an ellipse with zero eccentricity. Under the Sun’s gravity every bound orbit is an ellipse with the Sun at one focus, and how round it turns out depends on the planet’s speed and direction. Most planetary orbits are close to circular; Mercury is the clearest exception.
What is Kepler’s equation?
Kepler’s equation M = E − e · sin E links the mean anomaly M, which grows uniformly with time, to the eccentric anomaly E, which gives the position on the ellipse. It cannot be solved for E in closed form, so it is solved numerically, for example with Newton’s method.
How long does each planet take to orbit the Sun?
Mercury takes about 88 days, Venus 225 days, Earth one year and Mars just under 1.9 years. Jupiter needs about 11.9 years, Saturn 29.5, Uranus 84 and Neptune roughly 165 years. By Kepler’s third law, T² is proportional to a³.
Are the distances in the app to scale?
No. Distances are compressed with a square-root scale so the inner and outer planets fit on screen together, and planet sizes are not to scale either. Orbit shapes, inclinations and periods match the real values, and the speed control only changes how fast the simulation runs.

Subject: Astronomy

More from Astronomy

A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps