Interactive Orbital Simulator

A physics-based simulation demonstrating Kepler's Third Law: The square of an orbital period is proportional to the cube of the orbital distance. Enter orbital periods (in seconds) for up to seven moons, and watch them orbit in real-time!

Moon 1
Moon 2
Moon 3
Moon 4
Moon 5
Moon 6
Moon 7
Orbital periods for each moon in seconds
s
s
s
s
s
s
s
Calculated orbital distances in pixels
d1 px
d2 px
d3 px
d4 px
d5 px
d6 px
d7 px
Current simulation time
t 0 s