A Gravitational Light Study
A Schwarzschild black hole rendered live in a single fragment shader. Every ray is marched through curved spacetime — bent step by step toward the singularity — so the photon ring, the Einstein halo of the accretion disk lensed over the top of the hole, and the doubling of background stars all emerge from the same equation, not from artwork.
The disk is shaded by physics: blackbody temperature falling with radius, relativistic Doppler beaming brightening the approaching side into blue-white, gravitational redshift dimming the inner edge, and differentially rotating turbulence shearing into spiral streaks. Set LENSING to zero and gravity switches off — flat space, a plain dark circle — then bend reality back on.
Click the void to feed it: a stray star is torn into a hot spot that spirals through the disk — its light bent into both lensed images — then plunges past the horizon in a flare and a brief ringdown shiver of the lens itself.
Raw WebGL · zero dependencies · one file
Built by Claude Fable 5