About the program

Newtonian Potential Simulator is the first desktop application I've made, and the first Python project I've made that uses a GUI (created using Python's default Tkinter package). The program enables the user to select values for mass, speed of light, gravitational constant, and a point that is a custom distance away from the black hole's core, then creates an interactive 3D graph of the Newtonian Potential for a Schwarzschild Black Hole with those values. It determines the Schwarzschild radius of the black hole, alongside determining the time dilation, escape velocity, and gravitational redshift at the user's chosen point.

The application is fairly customisable, with options to vary the colour of the graph, units of the axis, scale size and scale sensitivity, as well as providing an option to download any graphs produced.

It's taken me a while to get it fully functional and is my most advanced coding project yet.

What the program looks like upon loading

What the program looks like upon loading.

Instructions for installation

The program can only be installed as a .exe, and thus can only function on Windows devices. As it's coded purely in Python (which isn't downloaded on Windows devices by default), the file size is quite large at 285MB. To download the program, please click HERE. Alternatively, you can simply copy the .py file on the main Github directory for the code HERE instead. The code is NOT code-signed as it's only a beginner project, so you may get notifications about the program being unsafe upon installing. If this worries you, and you already have Python installed on your device, feel free to simply copy the program's core .py file via its Github Repository instead (and save some storage space too).