Posted On: August 19th 2026, 06:42 pm
Built a black hole in the browser — just a canvas, a tilted accretion disk, and gravitational lensing math. No WebGL libraries, no shaders, just 2D context tricks doing the heavy lifting.
What you’re actually looking at:
🌀 Event horizon — the boundary where escape velocity passes light speed
💫 Photon ring — light trapped in a knife-edge orbit, bent into a perfect circle by curved spacetime
🌌 Accretion disk — infalling matter superheated to millions of degrees
Full source code linked in bio — clone it, retint it, tilt the disk, make it yours.
#threejs #webgl #blackhole #creativecoding #generativeart javascript physics spacetime devlife computemind