A few years ago, during my master years, I was studying the trajectory that a photon would take when passing by one of these space-time bending black holes (the null geodesics around a Kerr black hole, in technical terms.) I was then working under Dr. Richard Price and with another student, Travis Miller.
The idea was to study how one of these black holes would affect the electromagnetic jet from a pulsar that is orbiting the hole. By the end of the research, when all mathematical problems were sorted out, it became clear that I would need some kind of visualization tool to confirm that the geodesics were being calculated correctly.
That’s why I decided to start my first little project for a program in OS X. The result was a Geodesic Plotter, so to speak.
This app is basically a GUI wrapper to a set of C functions developed to calculate the final direction of a ray of light when it is far enough away from the black hole so that it’s not affected anymore by its gravitational field.
The input conditions are the pulsar position and the initial shooting direction of the photon from the pulsar. The pulsar is not restricted to the rotational plane of the black hole. It can be placed anywhere on space. The black hole parameters for mass and angular momentum can be varied independently too.
The program uses OpenGL for rendering, and it updates the screen automatically when parameters are changed using the text boxes or arrow buttons. This is especially useful to explore the effect that the initial direction has on the final direction of the photon trajectory. One can even try to find those special directions for which the photon revolves several times around the black hole before it can escape into infinity.
The GUI project was really fun to work with and it was done during a visit to Argentina during the (northern hemisphere’s) summer. After the first try, two more versions followed that improved responsiveness (mainly the automatic update of the view). There is still room for improvement and some bugs need to be fixed, but hopefully they will be resolved in the future versions of the program.
The program can be downloaded from Dropbox following this link.