Home▸Cosmology▸Gravitational Redshift 2D — Photon Wavelength Stretch (2D)

🌌 Gravitational Redshift 2D — Photon Wavelength Stretch (2D)

2D Canvas simulation of gravitational redshift: launch a photon from near a massive body and watch its wavelength stretch as it climbs out of the gravity well, computed from the real Schwarzschild formula z = 1/sqrt(1-Rs/r_emit) * sqrt(1-Rs/r_obs) - 1.

Cosmology2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-gravitational-redshift ↗ Open standalone
⚙ Under the hood

See a photon's wavelength stretch in real time as it climbs out of a massive body's gravity well. Adjust the mass, emission radius, and observer distance to watch the real Schwarzschild redshift formula turn blue light red on a 2D radial map.

general relativitygravitational redshiftSchwarzschild metricastrophysicslight2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)