I'd like to write a computer program that simulates and visualizes the trajectory of a ray of light as it passes near a massive object (e.g., neutron star). In other words, I'd like to model light deflection in space.
(FWIW, I have extensive programming experience, but my physics and...