How to work the table

Gravitational Architect is a drafting table for orbits. Ten bodies circle a star on a coordinate grid, and you are allowed to redraw their paths. Everything you drag is fed straight into a real gravitational integrator, so the consequences are not animated — they are computed.

Getting around

Look

Drag with one finger or the left mouse button to swing the camera around the Sun. Scroll or pinch to zoom. Right-drag to slide the whole system sideways.

Read

Click any body to open the inspector. The Facts tab carries its interior, atmosphere, extremes and live orbital numbers.

Redraw

The Draft tab puts four handles on the selected orbit: perihelion, aphelion, ascending node and a tilt lever. Drag them directly in the scene, or type exact values with the sliders.

Disturb

Switch on Physics and the Kepler clockwork is replaced by an N-body integration. Bodies tug on each other, ghost rails bend, and close passes can end in a collision.

Keyboard

The physics

The simulation runs in astronomical units, years and solar masses. In those units the gravitational constant is exactly G = 4π², so a body at one astronomical unit from a one-solar-mass star completes an orbit in exactly one year. That is not a coincidence — it is how the units were chosen.

Integration

cannon-es carries the bodies. The world's own gravity is switched off and replaced with a pairwise Newtonian force, F = G m₁m₂/r², applied to every pair before each substep. The step size is held between 0.0005 and 0.002 years and the frame is cut into at most 60 substeps, so the readout in the top bar always tells you the Δt actually in use. Push the time rate to the top of the slider and the integrator coarsens; pull it back and it tightens.

Ghost rails

In physics mode each body grows a dashed rail: where it will actually go. That rail is integrated forward with a fourth-order Runge–Kutta solver over the same force law, about six tenths of an orbit ahead. The solid ring behind it is the ideal Kepler ellipse. The gap between the two is the perturbation, and the Forces tab reports its largest value in astronomical units.

Collisions

Each body carries a collision sphere the size of the sphere you can see, which is exaggerated for the small worlds. When two of them touch, the lighter body is absorbed: momentum is conserved, the masses add, and the survivor's sphere grows. The event log in the left rail records it.

Force lines

The Forces tab picks any three bodies and draws the pull between them, labelled in newtons using the real constant G = 6.674×10⁻¹¹. The Sun on the Earth is about 3.5×10²² newtons — the same number you would get on paper.

The ten bodies

Orbital elements are the J2000 set: semi-major axis, eccentricity, inclination to the ecliptic, and the period that follows from them.

Orbital elements and physical data for the ten bodies
Body a (AU) e i (°) Period Moons Diameter
Mercury0.3870.2067.0188.0 d04,879 km
Venus0.7230.0073.40224.7 d012,104 km
Earth1.0000.0170.00365.25 d112,742 km
Mars1.5240.0931.85687.0 d26,779 km
Ceres2.7680.07610.594.60 yr0939 km
Jupiter5.2030.0481.3011.86 yr97139,822 km
Saturn9.5370.0542.4929.45 yr274116,464 km
Uranus19.1890.0470.7784.02 yr2950,724 km
Neptune30.0700.0091.77164.8 yr1649,244 km
Pluto39.4820.24917.14248.0 yr52,377 km

Moon counts are the confirmed totals as of late 2025, which is why Saturn reads 274 and Jupiter 97. Pluto is included as a dwarf planet, and so is Ceres — the largest object in the asteroid belt, holding about 35% of its mass and roughly a quarter of its own mass in water ice.

What is real and what is drawn

Where the numbers come from

Planetary facts are the published NASA planetary fact sheets and mission results — diameters, masses, rotation and orbital periods, atmospheric composition, temperature ranges and moon counts. Orbital elements are the standard J2000 set. Nothing on this site is invented, and where a figure is uncertain the panel says so.

Interface icons by Lucide, used under the ISC licence. See credits for the full list. Back to the sandbox.