An experience in special relativity

Fly near
light speed

Push the throttle. Stars crowd ahead, turn blue and blaze; the sky behind reddens and fades. Every effect is computed from Einstein’s equations.

Drag to look around

Speed β0.000
Lorentz factor Factor γ1.000
1 second aboard= 1.00 s on Earth
Red 656 nm light arrives as ahead656 nm ×1.00 behind656 nm ×1.00 Proxima Centauri (4.25 ly): you’re standing still
What you just saw

Four things happen
when you go fast

Nothing in the flight above is decoration. Each change in the sky follows from two rules: the laws of physics are the same for every steadily moving observer, and light always travels at the same speed, c, for all of them.

01

The sky squeezes forward

This is aberration. Run through vertical rain and it seems to slant toward you; starlight does the same. A star at angle θ from your direction of travel (measured by someone at rest with the stars) appears to you at angle θ′, where

cos θ′ = (cos θ + β) / (1 + β cos θ)

At 0.99c, a star that was directly beside you appears just 8° from straight ahead. Almost the whole sky crowds into a small window at the front.

02

Blue ahead, red behind

This is the relativistic Doppler effect. You rush into the light waves coming from ahead, so they arrive with higher frequency (bluer). Waves from behind are stretched out (redder). The factor is

D = γ (1 + β cos θ)

and wavelengths are divided by D. Here each star is a glowing ball of gas with a temperature, and to a moving observer it looks like a ball at temperature D × T. A Sun-like star dead ahead at 0.99c looks like an object of about 82000 K: intensely blue-white.

03

A searchlight ahead

Light from ahead arrives with more energy per photon and more photons per second, so the energy you receive from a star grows as D². Because aberration also packs stars together, a patch of sky ahead brightens even faster, as D⁴. Behind you, the sky fades toward black.

Switch on Human eye to see a subtle twist. At extreme speeds much of the light from ahead is pushed into the ultraviolet, which eyes can’t see, so stars brighten far less than the total energy would suggest. Behind you, light slides into the invisible infrared.

04

Your clock runs slow

To someone on Earth, every process aboard your ship (clocks, heartbeats, thoughts) runs slow by the Lorentz factor

γ = 1 / √(1 − β²)

At 0.99c, γ ≈ 7.09: one second for you lasts about 7.09 seconds in Earth’s frame. You don’t feel slow. Your trip just takes less of your time. The Light Clock shows exactly why.

The numbers behind the flight
SpeedγDoppler aheadDoppler behindRed H-α line (656 nm) ahead → behindStar at 90° appears at
0.5c1.15×1.73×0.58379 nm → 1137 nm60°
0.9c2.29×4.36×0.23151 nm → 2861 nm26°
0.99c7.09×14.11×0.0747 nm → 9258 nm8°
What’s simplified in this simulation
  • Travel is a time-lapse. Real stars are light-years apart, and even at 0.99c passing one would take years. The nearby stars stream past far faster than real time so you can see motion. Their directions, colours and brightness changes are still computed correctly at every instant.
  • The camera adapts its exposure to the direction you’re looking, a bit like your eyes, so the forward glare doesn’t wipe out the view and the dim sky behind stays visible. Brightness differences across the screen are real; the overall level is adjusted. The Doppler factors in the panel are the true values.
  • Stars are idealised as perfect glowing bodies (blackbodies) with a mix of realistic temperatures. The glowing clouds use two real emission lines from interstellar gas, hydrogen-alpha (656 nm) and oxygen [O III] (501 nm), and shift them exactly. Colours outside visible light are drawn at the visible edge in “total light” mode.
  • Speed is constant. You don’t feel acceleration here, and the sky is a made-up but plausible galaxy, not a star catalogue.

SpecRel is a growing collection of interactive explanations of Einstein’s special theory of relativity, made by a small independent team. Everything you see is computed from the actual equations, and every page explains the idea in plain English. More about the project.