Skip to content

Python-simulation/Black-hole-simulation-using-python

Folders and files

NameName
Last commit message
Last commit date
Feb 21, 2021
Feb 21, 2021
Feb 21, 2021
Feb 21, 2021
Feb 21, 2021
Feb 21, 2021
Feb 21, 2021
Dec 22, 2018
Feb 21, 2021
Dec 22, 2018
Dec 5, 2023
Feb 21, 2021
Dec 22, 2018
Dec 5, 2023

Repository files navigation

Black-hole-simulation-using-python

Non-spinning black hole simulation based on photon geodesic equation. This program takes an equirectangular image and returns the image distorded by the black hole. Results can be saved in form of matrices to call them later. An offset system can be used to simulate a moving background by saving a series of simulations with different offset.

An optional GUI can be used to control the BlackHole class.

Animation

An animation can be easily generated using the GUI.

Example

Black Hole spinning animation