Physics › Modern Physics 2D
Light clocks: a pulse of light bounces between two mirrors; each round trip is one tick. The top view is the rocket's own frame; the bottom view is the Earth frame, where the rocket moves at speed v. Change the speed and compare how many ticks each clock counts.
Seen from Earth, the light inside the rocket follows a longer zigzag path. Since light always travels at c in every frame, each tick of the moving clock takes longer (Δt = γ·Δt₀) and the rocket is shorter along its motion (L = L₀/γ). The purple triangle shows where γ comes from.
Twin paradox: choose the star's distance in light-years and the cruising speed, press Play and compare the twins' ages when the traveller returns. The diagram on the side shows both worldlines.
Spacetime diagram: drag the event E anywhere. Read its coordinates in the Earth frame (x, ct) and in the rocket frame (x', ct'). The interval s² is the same in both frames — and for events outside the light cone, the order in time can even flip!