Spectral Lines & Doppler Shift
Interactive simulation — adjust parameters and watch the visualization update in real time.
How it works
A star or galaxy moving away stretches wavelengths toward red; motion toward us compresses them (blue). Astronomers measure tiny shifts in known spectral lines to infer radial velocities and, for cosmology, redshifts.