← sources

interactive black hole by Opus 5.5

source: reddit (reddit:ClaudeCode)published 2026-09-30 13:35ingested 2026-10-01 02:44

retained text

Hi all! Sharing a side project I made with Claude Code over the last couple of days: an interactive black hole on my site.

[https://legost.in/en/utilities/black-hole](https://legost.in/en/utilities/black-hole)

What it does:

\- Every pixel traces a ray of light backwards through the spacetime of a spinning (Kerr) black hole. It runs on the GPU, using WebGPU compute where the browser has it and WebGL 2 otherwise.

\- The accretion disk has Doppler and gravitational shifts, black-body colours and a hot spot on its orbit. Behind it is the real Milky Way and a real star catalogue, lensed.

\- There's a "fall in" button: the camera drops through the event horizon and looks back at the universe it's leaving.

\- A short tour, plus an article with the actual formulas and a list of what's simplified.

document fetched 2026-10-01 00:44 · canonical https://reddit.com/r/ClaudeCode/comments/1wu54ob/interactive_black_hole_by_opus_55