Coding-the-Cosmos: Building Black-Holes with Python
Embarking on this incredible journey through the vastness of space, we have delved into the captivating world of black holes, those mysterious cosmic phenomena.
Along the way, we have uncovered their origins, structure, different types, the powerful gravitational effects they possess, how scientists detect them, the theories surrounding them, and their impact on our culture. Despite our progress, many questions about black holes remain unanswered, but our pursuit of knowledge continues to drive scientific advancements and ignite a sense of wonder in both scientists and the general public. As we keep exploring the wonders of the universe, black holes serve as fascinating gateways, urging us to push the limits of what we know and unravel the hidden secrets that lie within the vast cosmic abyss.
solveode.py
is an odeint()-powered general solver for the photon-orbit equation described in here. It is imported as a python module and provides a minimal set of function for parallel solution for lists of initial conditions.
generatetex.py
is the script that generates the lookup texture for the deflection angle using solveode.py
. It produces deflections_tex.png
, used by the WebGL applet.
This project is licensed under the MIT License.