Orrery

An interactive 3D model of the solar system that runs in the browser, built with three.js. It also has thousands of planetary systems around other stars, built from the NASA Exoplanet Archive.

Open Orrery
The whole solar system, with every orbit drawn

Features

Controls

Drag to rotate and scroll to zoom. Click on a planet or moon to focus on it. Click on the date to change it.

How It Works

Planet positions come from JPL's approximate orbital elements, and each planet's tilt and spin from the IAU, so the seasons and the day side are right. Sizes and distances are compressed so everything is big enough to see. The Scale setting changes how much.

Exoplanet systems are built from whatever has been measured: orbital periods, orbit sizes, planet radii and masses, and the star's temperature. Missing values are estimated, and the info panel says which ones. Where each planet sits along its orbit is made up, and most surfaces are generated from the planet's size and temperature.

It's plain JavaScript with no build step. The source is on GitHub.

Screenshots

Saturn and its rings, with the info panel open
TRAPPIST-1 e, one of the seven planets around TRAPPIST-1

Created by jarvisar