Special Relativity Simulations: See Time Dilation and Relativistic Mechanics in Your Browser
Six interactive simulations — special relativity, relativistic mechanics, quantum double-slit, quantum tunneling, and nuclear decay — that build the visual intuition no textbook equation alone can give you.
Lorentz transformations are not hard to memorize. The algebra is clean. What is hard is trusting the same mathematics when it says GPS satellites gain 38 µs per day without correction — or that a muon born 15 km above Earth survives the trip to sea level. That gap between knowing a formula and believing the physics is where a good special relativity simulation earns its keep.
Why Einstein Is Hard to Teach From a Textbook Alone
Special relativity asks students to abandon two things they have never doubted: fixed lengths and a universal clock. Textbooks introduce γ = 1/√(1 − v²/c²), derive time dilation and length contraction, and run sample problems. Students follow the algebra without developing the intuition that makes the equations useful.
The difficulty is that relativistic effects are invisible at everyday speeds. A car at 100 km/h travels at 0.00000009% of c — γ is 1 to fifteen decimal places. There is no lived experience to anchor the formulas. Visual representation is not supplementary to special relativity; for most students it is the primary route to understanding why c is a hard limit rather than just a fast speed.
Special Relativity Simulation
The Special Relativity simulation is a time dilation simulator and length contraction visualizer in one. Set velocity as a fraction of c and watch two clocks — one at rest, one in the moving frame — tick at different rates in real time.
Key parameters:
- Velocity slider: 0% c to 99.9% c continuously
- Observer toggle: rest frame or co-moving frame
- Display mode: side-by-side clocks or spacetime diagram with worldlines
The spacetime diagram view is the single most effective tool for building intuition about simultaneity. At 50% c (γ ≈ 1.15), clock differences are subtle. At 99.9% c (γ ≈ 22.4), the moving clock is nearly stopped — and the spacetime diagram shows clearly why "now" is not the same for two observers in relative motion.
From 10% c to 99.9% c: What Changes and When
The Lorentz factor curve is nonlinear. Knowing where effects kick in matters for both understanding and solving problems:
- 10% c: γ ≈ 1.005 — classical mechanics accurate to 0.5%; corrections negligible
- 50% c: γ ≈ 1.155 — 15% discrepancy; relativistic corrections are no longer optional
- 90% c: γ ≈ 2.29 — moving clock runs at less than half the rest-frame rate
- 99% c: γ ≈ 7.09 — dramatic time dilation and severe length contraction
- 99.9% c: γ ≈ 22.4 — the regime of cosmic rays and particle accelerators
Moving through the velocity slider makes this curve visceral. Special relativity is not a small correction at high speeds — it is a qualitatively different physical regime.
Relativistic Mechanics Online
The Relativistic Mechanics simulation exposes where classical mechanics breaks. Classical KE = ½mv² implies any speed is reachable with enough force. Relativistic mechanics disagrees: total energy E = γmc², kinetic energy is (γ − 1)mc², and as v → c the required energy diverges to infinity.
The simulation plots classical KE against relativistic KE on the same axes. The curves agree at low speeds and split sharply past 50% c. Watching both spike toward infinity past 99% c is more convincing than any algebraic proof that c is a genuine speed limit.
The Flash Speed Force — Lorentz Factor in Context
The Flash Speed Force simulation applies the Lorentz factor to a familiar fictional case with real numbers. At 99% c, Flash's relativistic kinetic energy is ~5.6 × 10²¹ joules — comparable to the Chicxulub impactor. At 99.9% c, one minute of Flash's personal time is 22 minutes for everyone else.
The side-by-side timer makes time dilation concrete before students encounter the formal proof. This is the same physics verified by muon detectors and atomic clocks on aircraft — and this Einstein physics simulator makes the numbers immediate.
Quantum Double-Slit Experiment
The Quantum Double-Slit simulation sends individual photons or electrons through two slits and builds the interference pattern one detection at a time.
Key parameters:
- Slit separation: controls fringe spacing via Δy = λL/d
- Which-path detector toggle: enable observation of which slit the particle uses and the interference pattern disappears instantly
The first 50 dots look random. By 500, the fringes are unmistakable. The which-path toggle demonstrates the measurement problem directly — observation changes the outcome measurably, not metaphorically. Watching the pattern build particle by particle is the most effective introduction to wave-particle duality available without a research lab.
Quantum Tunneling
The Quantum Tunneling simulation shows a wavepacket encountering a finite potential barrier. Classical mechanics: if particle energy is below barrier height, the particle reflects. Quantum mechanics: the wavefunction has nonzero amplitude beyond the barrier, so some fraction transmits.
Adjustable parameters: barrier height V₀, width L, particle energy E. Transmission probability scales as T ≈ e^(−2κL) where κ = √(2m(V₀ − E))/ℏ. This is the mechanism behind alpha decay, scanning tunneling microscopy, and the tunnel diodes in every modern processor.
Nuclear Decay
The Nuclear Decay simulation models stochastic decay visually: atoms decay independently per-frame at a probability set by the chosen isotope's half-life. Actual decay counts plot against the theoretical curve N(t) = N₀ × e^(−λt) simultaneously.
With 100 atoms, deviations from the theoretical curve are large. Scale to 1,000 and statistical regularity reasserts itself. This demonstrates why half-life is a population property — not a timer inside any individual atom.
Where This Physics Shows Up in Practice
- GPS: Satellite clocks gain 38 µs/day from combined special and general relativistic effects. Without daily correction, position errors accumulate at 11 km per day.
- LHC protons: At 99.9999991% c, their relativistic momentum is ~7,000× the classical prediction. The accelerator was designed around this divergence from the start.
- Muon decay: Cosmic-ray muons have a rest-frame half-life of 2.2 µs, classically implying decay within ~660 m of their 15 km creation altitude. Large numbers arrive at sea level because time dilation extends their lab-frame lifetime — directly measurable with basic detectors and verified since the 1940s.
Curriculum Fit
These simulations align with specific exam syllabi:
- AP Physics Modern (Units 7–8): time dilation, length contraction, mass-energy equivalence, double-slit, photoelectric effect
- A-level Physics: special relativity in Further Mechanics; quantum behavior throughout the core units
- IIT-JEE Advanced: Modern Physics is a consistent high-weight section — relativistic energy-momentum and quantum mechanics appear in Paper 2 every year
Each simulation runs in a browser tab, works on a classroom projector in under five minutes, and requires no account.
Every concept above has a working simulator you can open right now. Start with the full physics collection at SciFunLab Physics Simulations and work through modern physics the way it actually makes sense: by changing the numbers and watching what breaks.