Schwarzschild Black Hole Raytracer

Null-geodesic raytracing bends the star field; Doppler beaming lights the accretion disk and photon ring, while a HUD tracks observer distance and disk inclination.

Loading preview...
Start with this prompt

A real-time Schwarzschild black hole raytracer with an accretion disk, cinematic sequences, and adjustable observer parameters.

Upgrade to a Kerr black hole

Switch the metric from Schwarzschild to Kerr with frame dragging and an ergosphere you can dial with a spin parameter.

Try Kimi Build
Build a real-time black hole raytracer called 'GARGANTUA' as a single static page. Render a Schwarzschild black hole with null-geodesic raytracing: a bent star field, a glowing accretion disk with Doppler beaming, and photon-ring highlights. Provide cinematic, poster, edge, and polar camera presets plus an auto cinematic sequence, orbit and zoom controls, and a HUD with mission elapsed time, observer distance, disk inclination, geodesic steps, render profile, and frame rate. Let the viewer adjust observer distance, disk inclination, geodesic step count, spin, and render quality from a params panel, with keyboard shortcuts for views, cinematic mode, params, sound, and HUD.
Add a lensing playground

Add a draggable star field and lens flare markers so the viewer can watch individual stars smear into Einstein rings.

Try Kimi Build
Build a real-time black hole raytracer called 'GARGANTUA' as a single static page. Render a Schwarzschild black hole with null-geodesic raytracing: a bent star field, a glowing accretion disk with Doppler beaming, and photon-ring highlights. Add a lensing playground: a set of bright reference stars the viewer can drag across the sky, each showing its lensed mirror image and Einstein-ring arc as it passes behind the hole. Provide cinematic, poster, edge, and polar camera presets plus an auto cinematic sequence, orbit and zoom controls, and a HUD with mission elapsed time, observer distance, disk inclination, geodesic steps, render profile, and frame rate. Let the viewer adjust observer distance, disk inclination, geodesic step count, and render quality from a params panel, with keyboard shortcuts for views, cinematic mode, params, sound, and HUD.
Add a time-dilation readout

Show proper time versus observer time as the camera approaches the horizon, with a falling-probe mode.

Try Kimi Build
Build a real-time black hole raytracer called 'GARGANTUA' as a single static page. Render a Schwarzschild black hole with null-geodesic raytracing: a bent star field, a glowing accretion disk with Doppler beaming, and photon-ring highlights. Add a time-dilation readout: a probe that can be dropped toward the horizon while twin clocks compare probe proper time with the distant observer's clock, slowing and redshifting the probe's beacon as it falls. Provide cinematic, poster, edge, and polar camera presets plus an auto cinematic sequence, orbit and zoom controls, and a HUD with mission elapsed time, observer distance, disk inclination, geodesic steps, render profile, and frame rate. Let the viewer adjust observer distance, disk inclination, geodesic step count, and render quality from a params panel, with keyboard shortcuts for views, cinematic mode, params, sound, and HUD.