25launches

Event Horizon

Fly into a ray-traced black hole as two clocks drift apart

0 followers

Visit pratyushshivam.github.io (opens in a new tab)

EducationGamesOpen Source

Event Horizon lets you fly a ship around a black hole in the browser. Every pixel is ray-traced live through curved spacetime on your GPU with WebGL2, with a physically based accretion disk and a real star catalogue behind it. Brake to fall, thrust to climb: your clock and Earth's drift apart, and the end card says how much time passed at home. Three real holes at their published masses: Sagittarius A*, M87* and Cygnus X-1. No account, no server, about 30 kB of code. Open source, MIT.