Drag to look around.
loading...
running...
How to use
Drag to slide the picture and use the wheel or pinch to zoom. Pick a preset (a small star-sized hole, the one in our galaxy centre, or a giant). Press Drop the astronaut to watch a fall, and Send a star to see an orbit. Switch Gravity bends light off to see straight rays. Space pauses, R restarts. Things to try: (1) find the red rays that fall in and the closest yellow ray that escapes; (2) send a star with a sideways push of 1.0, then 0.6, and compare; (3) drop the astronaut into the 10-sun hole and into the giant: which one stretches you first?
This 2D page uses exactly the same model file as the 3D page (model.js), so every number agrees between them.
The science
Size. The edge of a non-spinning black hole (the horizon) has radius rs = 2GM / c2 about 3 km per sun of mass. Everything here is measured in rs.
Bent light. A light ray with closest approach b follows u'' + u = (3/2) rs u2, u = 1/r (Schwarzschild null geodesic). Far away it bends by 4GM/(c2b); rays with b below 3√3/2 rs ≈ 2.6 rs fall in, which makes the black shadow. Every ray here integrates this equation with RK4. Light can circle the hole at 1.5 rs (photon sphere).
Slow clocks. A clock hovering at r runs at dτ/dt = √(1 − rs/r) of a far clock; one on a circular orbit runs at √(1 − 1.5 rs/r). Light climbing out is redshifted by 1/√(1 − rs/r) − 1. Orbits are only stable outside 3 rs (ISCO).
The glowing disc. Gas heats as it spirals in. Temperature follows the thin-disc law T4 ∝ (1/r)3(1 − √(rin/r)); the brighter side is Doppler beaming from the gas moving toward you. Luminosity is G M &Mdot; / (2 rin).
Spaghettification. The pull difference over length L is 2GML/r3. For big black holes this is gentle at the horizon, for small ones deadly long before it.
Checks. The page recomputes the shadow size, light bending, orbit precession, disc luminosity, fall times, tidal stretch, ISCO and orbital clock rate numerically against closed formulas.
Simplifications. No spin (Kerr) and no gas physics beyond a thin-disc temperature profile; the disc is drawn as rings coloured by the thin-disc temperature; the astronaut is treated as a point test mass.