Primitives
SaveLabExperimentsApproach

Instruments

Time0.00 s
Bodies0
Kinetic E0.00 J
Excess KE0.00 J
Potential E0.00 J
Total E0.00 J
Momentum0.00
Ang. mom.0.00
Max speed0.00 m/s
Gravity9.81 m/s²
FPS60
Gravity9.81m/s²
Speed1.00×
built on founden.ai
Experiments/Real world

Kepler's laws simulation: elliptical orbit and speed

A body released too slowly to circle a star falls into an ellipse. Watch it race through its closest approach and crawl at the far end, beside a circular orbit.

Teaching this? Printable lab sheet with answer key for a 40-minute class.

Kepler's laws

rₐ vₐ = rₚ vₚ, v² = μ(2/r − 1/a)

rₐ
distance from the star at apoapsis, the farthest point (m)
vₐ
speed at apoapsis (m/s)
rₚ
distance from the star at periapsis, the closest point (m)
vₚ
speed at periapsis (m/s)
v
speed at any point of the orbit (m/s)
μ
gravitational parameter of the star, G times its mass (m³/s²)
r
current distance from the star (m)
a
semi-major axis, half the longest diameter of the ellipse (m)

What you are watching

A fixed star pulls every body toward it with an inverse-square force; ordinary downward gravity is off. The amber body starts far to the right, moving sideways at only 0.6 of the speed a circular orbit there would need; the teal body starts closer in at 0.98 of circular speed.

The amber body falls inward, whips around the star and climbs back to where it started, tracing a lopsided ellipse, more than four times faster at closest approach than at its farthest point. The teal body holds a nearly circular path, and neither orbit decays. The ellipse also turns slowly, a few degrees per orbit on a wide screen, because the engine softens the pull slightly (over 0.25 m) so it stays finite at the star; only an exact inverse-square force closes an ellipse perfectly.

Why it happens

The star's pull always points at the star, so it exerts no torque about it and the body's angular momentum about the star stays constant. At the two ends of the ellipse the velocity is at right angles to the radius, so rₐvₐ = rₚvₚ: four times closer means four times faster. Over the whole orbit the same law is Kepler's second: equal areas swept in equal times.

Energy sets the size of the orbit. The vis-viva equation, v² = μ(2/r − 1/a), ties the speed at any distance to the semi-major axis a. At 0.6 of circular speed the amber body lacks the energy to stay at its distance, so its starting point becomes the far end of an ellipse with a about 0.61 of that distance.

Try this

  1. Watch the angular momentum readout: it holds steady while speed and distance change fourfold.
  2. Grab the teal body and release it moving more slowly: it drops into an ellipse of its own.
  3. Throw a body faster than √2 (about 1.4) times the circular speed at its distance. It no longer comes back, but escapes along an open curve.
  4. Add a circle with the shape tool and let it go at rest. With no sideways speed it has no angular momentum about the star, so it falls straight in.

Questions

Why do planets move faster when they are closer to the Sun?

Gravity points straight at the Sun, so it cannot change a planet's angular momentum about the Sun, mass times distance times sideways speed. When the distance shrinks, the speed must grow to compensate.

More real world experiments

  • DominoesChain reaction
  • BreakElastic collision
  • Fastest descentBrachistochrone
  • Leaning towerFree fall
  • Hunter's paradoxIndependence of motion
  • Boat & cargoBuoyancy
  • Wrecking ballMomentum
  • SatelliteOrbital gravity
  • FlagAeroelastic flutter
  • Loop the loopCentripetal force
  • Equal timeTautochrone
  • Rolling vs slidingRotational inertia
  • Tumbling centreCentre of mass
  • Coupled pendulumsNormal modes
  • Faster than gravityAngular acceleration
  • Terminal velocityTerminal velocity
  • Block overhangCentre of mass

All 57 experiments

Primitives logoPrimitives

A real-time physics engine you experiment with directly. Real Newtonian mechanics, in SI units, in your browser.

Product

  • Engine
  • Experiments
  • Lab sheets
  • Lab
  • Approach
  • Notes

Legal

  • Privacy Policy
  • Terms of Service

Contact

  • support@primitives.im
© 2026 Primitives. All rights reserved.