A cartoon (not realistic) of light rays under gravity, for a talk.
This program computes timelike and null geodesics in the Schwarzschild exterior metric describing the spacetime around a non-rotating star. The geodesic equation is integrated numerically, and the resulting orbits display the characteristic precession of the perihelion that distinguishes general relativistic orbits from their Newtonian counterparts. The visualization shows the spatial projection of these orbits.
Controls: Click and drag to orbit, scroll to zoom.