Moving clocks run slow. On, like the real universe.
Made it: – · Math says: –
Without Einstein, the math says: –
Cosmic rays make muons 15 km up. A muon lives about 2.2 millionths of a second, far too short to reach the ground. Yet they rain down on you right now. Quantum dice decide when each one dies. Einstein decides whether it makes it.
Moving clocks run slow. On, like the real universe.
Made it: – · Math says: –
Without Einstein, the math says: –
Cosmic rays (mostly protons, many flung out by exploding stars) slam into the top of the atmosphere about 15 km up. The crash makes showers of particles, including muons: heavy cousins of the electron that fly down at nearly the speed of light. About one passes through your hand every second.
A muon is unstable. It falls apart, but nobody can say when. On average it lasts 2.2 microseconds, yet each one is a roll of quantum dice: some die almost at once, a few last much longer. Each muon on this page gets its own roll from a random number, the same way nature does it. That's where the quantum random number generator comes in.
Light covers only about 660 meters in 2.2 microseconds. A muon is a hair slower than light, so it should travel about that far before decaying. Falling 15 km should take about 23 lifetimes, and the odds of surviving that many are around one in 8 billion. Flip Einstein off and that's what you'll see: they all fizzle high in the sky.
Einstein showed that a moving clock runs slow. At 99.8% of light speed, the muon's own clock ticks about 16 times slower than ours. We see a 50-microsecond trip, but the muon only lives through about 3 microseconds of it. So about a quarter of them reach the ground. Physicists first measured this in 1941 by counting muons on a mountain and at its base, and it matched Einstein exactly.
GPS satellites move fast enough that their clocks run slow too, while weaker gravity up there makes them run fast. Together their clocks gain about 38 microseconds a day. Engineers correct for it. If they didn't, your GPS position would drift about 10 km every day. The muons reaching your roof and your phone finding the coffee shop are both Einstein, checked every day.
Each streak is a muon. A purple puff is where one decayed. A yellow flash at the bottom is one reaching the ground. The bars on the right edge show where muons decay at each height; the yellow bar at the bottom is the ones that made it. Fire 1,000 sends a big batch at once so the scoreboard settles close to the math.
Right now the dice rolls come from your browser's built-in random number maker. Soon this lab plugs in a quantum random number generator from Crypta Labs, so each muon's lifetime is decided by a real quantum measurement. When it's connected, the dot at the bottom turns green. Someday this page may also show real muon counts from the lab's Geiger counter.