Spacetime in Your Browser: A General Relativity Sandbox Built with BabylonJS

Drop planets onto a deformable spacetime grid and watch gravity warp the mesh in real time. Built with BabylonJS and Ammo.js physics, Hitesh Sahu's simulation turns the rubber-sheet analogy into something you can actually play with. Collision sounds included.

0:00
/1:00

A 3D spacetime grid deforms under the gravitational influence of placed planetary bodies, with PBR-rendered spheres warping the mesh surface in a real-time BabylonJS simulation.