Move the distance-scale slider to hand off between methods

Cosmic Distance Ladder 2D: Parallax, Cepheids & Redshift

No single technique can measure a cosmic distance from a nearby star to the edge of the observable universe — astronomers hand off between overlapping methods as the scale grows, and this 2D simulator makes that handoff itself the interactive centerpiece. One distance-scale slider sweeps from a few parsecs to hundreds of megaparsecs; as it crosses each method's working range, the panel switches to trigonometric parallax, the Cepheid period-luminosity relation, or Hubble's-law redshift, dragging that method's own control to a representative value and redrawing a live diagram of how the measurement actually works — Earth's shifting vantage point against background stars, a pulsating star's period revealing its true luminosity, or a galaxy's spectral lines sliding toward red. Every number on screen comes from the real formula for its rung: d = 1/p for parallax, the inverse-square law applied to a Leavitt's-law luminosity for Cepheids, and v = H0·d for redshift.