SINGULARITY LAB running
-- fps

Drag to orbit  ·  Scroll to zoom

Singularity Lab

Real-time gravitational lensing simulation. A ray-marching fragment shader bends null geodesics around a Schwarzschild black hole, producing the photon ring, relativistic doppler beaming on the accretion disk, and chromatic aberration.

Controls

  • Drag — orbit camera
  • Scroll / + / — zoom
  • W A S D / Arrow keys — orbit
  • Space — pause / resume
  • R — reset parameters

Parameters

  • Lensing — gravitational ray-bending intensity
  • Doppler — relativistic beaming gain on disk
  • Disk Speed — accretion disk orbital speed (Keplerian)
  • Aberration — chromatic aberration at photon ring