black hole renderer
A real-time, physically based ray tracer in a WebGL shader. Every pixel integrates a light ray through Schwarzschild spacetime (Binet's equation, RK4). Drag to orbit, scroll to zoom.
The shadow is not the event horizon. Light that gets within about 2.6 Schwarzschild radii (the critical impact parameter, 3√3 M) is captured, so the dark disk is about 2.6x bigger than the horizon. The thin bright ring is the photon sphere's image.
The accretion disk is a geometrically thin, optically thick disk with a Novikov-Thorne-style temperature profile, starting at the innermost stable orbit (6 M). Its colors include relativistic Doppler beaming (the approaching side is brighter and bluer) and gravitational redshift. The same disk appears twice: once directly and once lensed over the top of the hole.
What it doesn't do: no spin (Kerr), no disk self-lensing or returning radiation, no volumetric corona. See the CUDA write-up for the original project.