The Physics of the Universe
Home › Simulations › Spacetime Curvature & Relativistic Orbit Simulator

Spacetime Curvature & Relativistic Orbit Simulator

Visualize how massive stars warp nearby spacetime geometry while comparing closed Newtonian ellipses against general-relativistic perihelion precession.

Presets:
Click and drag anywhere across the warped grid to sling a planet at custom velocity, or toggle Relativistic Precession to trace a flower-shaped rosette orbit.

Key Equations & Physics Model

Newtonian Inverse-Square Force: F = −(G M m / r²) r̂
First-Order GR Effective Force Correction: F_eff = −(G M m / r²) − (3 G M L² / (c² r⁴))
Einstein Field Equations: G_μν = (8π G / c⁴) T_μν

Note carefully: the 2.5D warped grid is an embedding analogy (Flamm's paraboloid) illustrating radial spatial curvature. Actual orbital motion is driven by 4D spacetime curvature (principally time-rate variation g_tt).

How the Physics Works

Newton imagined gravity as an invisible force pulling masses instantaneously across empty space. Einstein's general relativity replaced that force with geometry: mass and energy tell spacetime how to curve, and freely falling planets simply follow straight-ahead geodesics through that curved spacetime.

In textbook illustrations, this metric distortion is often shown as a sunken rubber sheet. As this simulation explicitly notes, a 2D rubber sheet is only a visual analogy—in real 4D spacetime, it is primarily the warping of coordinate time (gravitational time dilation) near massive objects that bends slow-moving planetary paths.

Under pure 1/r² Newtonian gravity, every bound elliptical orbit closes perfectly back onto itself forever. General relativity adds a tiny attractive 1/r⁴ correction proportional to squared angular momentum L²/r⁴.

That extra curvature slightly bends the orbit inward at closest approach, rotating the entire ellipse forward each revolution into a rosette pattern—precisely explaining Mercury's historic 43 arcseconds-per-century perihelion advance.

Measured General-Relativistic Orbital Precession Rates

Orbiting SystemOrbital PeriodEccentricity eGR Periastron Precession
Mercury around Sun87.97 days0.205642.98 arcseconds / century
Venus around Sun224.7 days0.00688.62 arcseconds / century
Earth around Sun365.25 days0.01673.84 arcseconds / century
PSR B1913+16 (Hulse–Taylor Pulsar)7.75 hours0.61714.226 degrees / year
S2 Star around Sgr A*16.05 years0.884712.1 arcminutes / orbit

Why does Mercury's orbit trace a flower?

A 41-second animation: spacetime curvature vs. Newtonian gravity and Mercury's perihelion precession.

Experiments to Try

Watch Mercury-Style Orbital Precession

Run GR Precessing Rosette with GR Precession > 0.20 and watch the ellipse axis rotate smoothly around the central star.

Compare Against Newtonian Gravity

Load Closed Newtonian Ellipse (GR Precession = 0) with Force Vector enabled to see the ellipse trace one stationary closed track.

Click-and-Drag Custom Sling Launch

Drag slowly near the star for a steep plunge, or drag wider perpendicular to the radius for a sweeping eccentric rosette.

Frequently Asked Questions

Why isn't the rubber-sheet well literally how gravity works?

A physical marble on a rubber sheet needs external downward gravity to curve; real planets curve due to intrinsic 4D spacetime geometry—mostly gradients in the flow of time rather than spatial depth.

Why didn't Newton predict Mercury's perihelion precession?

Pure 1/r² inverse-square gravity guarantees perfectly closed ellipses (Bertrand's theorem). Only Einstein's 1/r⁴ general-relativistic term twists the ellipse forward every orbit.

Does Earth's orbit precess from General Relativity too?

Yes—just much more weakly (~3.8 arcseconds per century) because Earth orbits farther from the Sun's gravity well than Mercury.

Is gravity actually a force or curvature?

In general relativity, free-falling objects feel zero proper force (weightlessness); what feels like gravity standing on Earth is the floor pushing you upward off your natural spacetime geodesic.

Related Topics & Tools