Singularity — Kerr/Schwarzschild black-hole ray tracer
drag canvas to orbit · scroll to zoom · use the panel to tune

Black hole

Disc

Cinematics

Performance

measuring…

Learn

The black disc (the shadow)

Not the event horizon itself. It's the shadow: every viewing direction from which a light ray, traced backwards from your eye, falls into the hole. Gravity bends nearby rays inward, so the hole captures light that would otherwise miss it, and the shadow appears ~2.6× wider than the horizon (radius √27 GM/c²).

The bright thin ring

The photon ring. At 1.5 Schwarzschild radii light can orbit the hole. Rays that graze that orbit wind around once, twice, many times before escaping; each loop stacks another, thinner image of the disc and sky against the shadow's edge. The Event Horizon Telescope images of M87* show this same feature.

Why the disc arcs over the hole

The disc is genuinely flat, a thin ring in the equatorial plane. But light from the part behind the hole can't reach you in a straight line; it's lensed up and over (and under) the hole instead. You're seeing the far side's top surface above the shadow and its underside below, both at once. This is the signature look of Interstellar's Gargantua.

Why one side is brighter

Doppler beaming. Inner-disc material orbits at a large fraction of light speed. Emission is boosted along its direction of motion (intensity scales as the 4th power of the shift factor g), so the side racing toward you glows brighter and bluer while the receding side is dimmed and reddened. The Interstellar VFX team deliberately suppressed this asymmetry; toggle it off to see their version.

Gravitational redshift

Light loses energy climbing out of the hole's gravity well: a photon emitted at radius r arrives shifted by √(1 − rs/r). The innermost disc, the hottest part, is also the most redshifted, so its glow arrives dimmer and redder than its temperature alone would suggest.

What the colors mean

Each patch of disc radiates like a blackbody. The thin-disc model (Novikov–Thorne) sets temperature falling outward roughly as r−3/4: white-hot at the inner edge, cooling to orange further out. Doppler and gravitational shifts then multiply that temperature by g, nudging the color blue or red.

How this is computed

No lensing textures, no tricks: every pixel fires a light ray backwards from the camera and numerically integrates the geodesic equation through the exact Schwarzschild or Kerr spacetime (4th-order Runge–Kutta) until the ray hits the horizon, crosses the disc, or escapes to the sky.

The adaptive integrator takes fine steps in the strongly curved region near the hole and up to 40× coarser ones out in nearly-flat space (about 8× faster, no visible difference). Draft/Balanced/Quality trade step size against the crispness of the photon ring's finest sub-rings.

click on the canvas to take camera control

WebGPU is not available in this browser.

Try a recent Chrome, Edge, or Safari 17.4+, or a Firefox Nightly with dom.webgpu.enabled set to true. Alternatively, download a native release: