[ANN] SchwarzschildGeo.jl

Hello everyone. I just completed a small package to render a Schwarzschild Black hole with various backgrounds.



@inokawazu, for those who are not astrophysicists but might be interested in physics, could you provide a reference to the equations you solve in your package and foremost, explain in simple terms what “rendering a Schwarzschild Black hole” means?
Thank you.

1 Like

I have a recall of the Schwarzschild radius of black holes (the distance at which light can no longer escape the grip of the black-hole), but why did you decided to add the Geo suffix to the package name?

Yeah, I have to admit it was partially from a lack of sleep and imagination. The idea was that Geo was short for Geodesic. I am always open to changing the name really.

The program essential answers the question “If I could replace the backdrop of the night sky with any old random picture (I used a picture of a galaxy), but there was a black hole in front of me, how would my view change?”

I said rendering a black hole, but I guess I should say ray tracing. After placing a “camera” somewhere outside the black hole, I use the geodesic equation to find the paths light takes depending on the initial direction from the “camera”. The package uses the final position of the light to determine the color of the pixel at a certain angle of view (which is associated with a pixel in the final image), I suppose. Also, if the ray of light falls into the black hole, that viewing angle is registered as black.