A free physics simulation — play it in your browser, no install. Real-time spinning (Kerr) black hole ray traced from scratch in WebGPU: lensed accretion disk with Doppler and gravitational shifts, photon ring, lensed starfield. Live demo: https://theanandprasad.github.io/web-blackhole/
Vote and save it — continue with GitHub or sign in free
Made this, @theanandprasad? See how many people played it → or use email
Controls: Drag: orbit the black hole · Mouse wheel / pinch to zoom
GitHub asks to share your profile and email with us. We never post anything.
No account needed to save ♥ or react 🔥: they’re under the game. Or vote with email.
Open the live demo Source on GitHubA real-time spinning (Kerr) black hole, ray traced from scratch on WebGPU with no engine or rendering library. Every pixel follows a light ray backwards through curved spacetime. It draws the shadow, the lensed accretion disk with its Doppler and gravitational shifts, the photon ring and a lensed starfield. You can orbit it, fly around it, and change its spin while it runs.
**Live demo: (needs a browser with WebGPU)
Open the live demo, or open blackhole.html in a browser with WebGPU (recent Chrome, Edge or Safari). blackhole.min.html is the same page minified.
Built something like this? Submit your vibe — free account, takes a minute. How listing works.
Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.
Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.