◀ VibeCruiser

web blackhole

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/

by @theanandprasad · theanandprasad/web-blackhole on GitHubLANG HTMLHOSTED ON THEANANDPRASAD.GITHUB.IOUPDATED 17 Oct 2026

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

▶ Play full screen ▲ Vote with GitHub ▲ Vote with email

GitHub asks to share your profile and email with us. We never post anything.

Open the live demo Source on GitHub

From the README

A 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.

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

Made this?

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.

On VibeCruiser

How listing, the badge and claiming work →