This program is a simple command-line interface (CLI) application that allows users to perform basic operations on black holes. The operations include:
- Simulating the collision of two black holes
- Simulating the rotation of a binary star system
- Simulating the lensing effect of a black hole
- Simulating the event horizon of two types of black holes, Schwarzschild and Kerr
- Simulating the creation of a black hole from a star
The binary star system one doesn't fit the theme of black holes, but it's a cool simulation to have.
The simulation of the creation of a black hole doesn't work as intended. It's a work in progress.
python >= 3.8
Setting Up the Environment
- Windows:
./setup_Windows.bat
- Linux/macOS:
./setup_Linux.sh
These scripts will install required dependencies, and build a virtual environment for you if you don't have one.
-
Navigate to the
bin
directory:cd bin
-
Execute
python bh_operations.py [--help]
(usepython3
on Linux/macOS) in your terminalThe
--help
flag displays available command-line arguments.
Neetre