Control Panel

Acceleration:

0c 0.5c 1.0c

Path:

2 light-years

Earth Twin

Rocket Twin

Earth Frame (S)

Rocket Frame (S′)

Why time dilates

Same events, two coordinate charts. Graph 1 plots each event in Earth-frame coordinates (x, ct). Graph 2 plots the same stored events after a Lorentz boost into the rocket’s comoving frame (x′, ct′), step by step when speed changes. Think of it as two languages for one worldline history, not two different trips.

Hyperbolic geometry of spacetime. In everyday geometry, the distance between two points is d = √(x² + y²). In special relativity the "distance" between two events is the spacetime interval: ‖s‖ = √(ct² − x²). Notice the minus sign — that is what makes spacetime hyperbolic (Lorentzian) rather than the usual positive-definite (Euclidean) notion of length. This interval is invariant: every observer, no matter their velocity, computes the same ‖s‖ for the same pair of events.

Supporting illustration (right)
Supporting illustration (left)

What ‖s‖ tells you. With β for v/c and γ = 1/√(1 − β²) (the Lorentz factor behind the beginner slow-clock paragraph), a rocket moving at constant β from the origin has position x = β·ct, so ‖s‖ = ct·√(1 − β²) = ct/γ. That equals the rocket’s elapsed proper time on that leg, and also equals the proper time of the unique inertial geodesic connecting the origin to that event. The faster it moves, the smaller ‖s‖ becomes relative to ct. At the speed of light (β = 1), the interval drops to zero: a photon experiences no proper time at all.

The twin paradox. This is the geometric core of the twin paradox. After a round trip both twins meet at one spacetime event, so the invariant interval ‖s‖ from trip start to that reunion (computed from Earth coordinates, where x ≈ 0) is a single number for everyone. The traveler’s wristwatch (tShip in the legend, accumulated as ∫dt/γ along the actual path) reads less than that, because proper time adds up along the worldline you took. A curved or kinked timelike path accumulates less proper time than the straight inertial geodesic between the same two events. In Minkowski geometry that geodesic maximizes proper time — the opposite of Euclidean distance, where a straight segment is the shortest path.

Supporting illustration (right)
Supporting illustration (left)

Lorentz coordinates on a Euclidean canvas. Same caveat as the beginner “flat screen” paragraph, in compact form: pixel positions use ordinary flat (Euclidean) distances, while axis labels are Lorentz coordinates. A ruler on the monitor measures screen length, not the invariant interval — ‖s‖ always comes from the Minkowski combination (ct)² − x² (or the primed version in one global frame), not from how long a line looks in pixels.

Why the rocket worldline can look shorter along ct′. Along the rocket in S′, each Earth-frame step satisfies Δx = βΔct, so Δct′ = Δct/γ: coordinate time in S′ advances like proper time for the ship. For Earth at rest in S each step has Δx = 0, so under the same boost Δct′ = γΔct. The red trace need not span the same horizontal extent as the blue one; that is boost mixing and time dilation, not a mistake in the plot.

Note on the Rocket Frame (S′) graph. The S′ worldlines are built with an incremental piecewise Lorentz boost: each small time-step Δct is transformed using the rocket's instantaneous velocity β and the results are accumulated. For constant-speed unidirectional trips every step uses the same β, so this is equivalent to a single exact Lorentz transform and ‖s′‖ = ‖s‖. Hence, trust Graph 1 (S) and ‖s‖ between events for invariants; use S′ as the rocket’s Lorentz view when β is steady, and treat S′ after turns as qualitative unless you dig into the caveat below.

How to read the sim after a turnaround. Default to Earth frame (left), ‖s‖ between events, and tShip along the path for elapsed proper time on the rocket; expect coordinate quirks in S′ when β changes step to step. For bidirectional trips with asymmetric acceleration (e.g. linear ramp-up outbound, instant reversal inbound), the outbound and return legs apply different γβ profiles. As a result Earth's worldline in S′ may not return to x′ = 0 at the reunion, even though physically the rocket and Earth are co-located again. This is a known artifact of the piecewise method: the transform is path-dependent, so the same reunion event, reached via different worldline histories, maps to different S′ coordinates. The displayed ‖s′‖ may also diverge from ‖s‖ for the same reason. A fully correct non-inertial coordinate system (Fermi–Walker or radar coordinates) would preserve co-location but is substantially more complex to implement.

Supporting illustration (right)