Kerr Black Hole Simulator
Visualizing the Universe Through General Relativity.

What it does
Kerr Black Hole: A General Relativity Simulation is a real-time scientific visualization that brings Einstein's theory of General Relativity to life. Unlike Newtonian gravity, Instead of treating gravity as a force, the simulation models it as the curvature of spacetime around a rotating Kerr black hole. Using GPU acceleration with Taichi, it traces the paths of light and matter through this curved geometry, allowing us to observe phenomena such as gravitational lensing, frame dragging, geodesic motion, and the event horizon.
The simulation features a physically inspired accretion disk, a realistic background star field distorted by gravity, and thousands of test particles following relativistic trajectories. Users can orbit the black hole or explore it from a first-person observer perspective, while an interactive HUD displays key physical parameters including the black hole's spin, event horizon radius, simulation time, and particle statistics. Individual photons can also be launched to visualize how light bends around the black hole.
What makes this project unique is its commitment to letting the physics create the visuals. Rather than relying on artistic tricks, the stunning appearance of the black hole emerges naturally from the mathematics of curved spacetime. The result is both an educational tool and an immersive experience that demonstrates how Einstein's equations predict some of the most beautiful and extreme phenomena in the universe.