twobodyproblem-gui 1.0.0

Creator: bradpython12

Last updated:

Add to Cart

Description:

twobodyproblemgui 1.0.0

Two Body Problem – GUI
the GUI to the simulation
Welcome!
This is the repository for the graphical user interface of
this simulation.
For more information about the whole program, go there.
In this additional GUI, there are more possibilities than in the normal (CLI) program.
For example, you can choose from presets instead of typing in your own parameters,
save your settings and values and more.
Table of Contents
Installation Instructions

via PyPi
via GitHub

Usage
Installation Instructions
(You may need Microsoft Visual C++ to be able to run the program,
so install it from here if needed.)
via PyPi
The Python package manager pip will install the last uploaded version
from the Python Package Index PyPi.
This will not always be the latest version, so if you want to install all the latest features,
install it from GitHub (see below).

Make sure Python and pip are installed correctly.
Run these commands from a command line:

pip3 install --upgrade pip setuptools wheel
pip3 install --upgrade twobodyproblem_gui


Now, the program is runnable with python -m twobodyproblem_gui or python3 -m twobodyproblem_gui.

via GitHub

Install the CLI program.
Run these commands from a command line:

cd TwoBody (or whatever folder you stored the CLI program files in)
git clone https://github.com/Two-Body-Problem/twobodyproblem-simulation-python-gui.git
pip3 install twobodyproblem-simulation-python-gui


Now, the program is runnable with python -m twobodyproblem_gui or python3 -m twobodyproblem_gui.

Usage
To learn more about how to run the program with different options,
run python -m twbodyproblem_gui -h or python3 -m twbodyproblem_gui -h respectively.
To learn more about the CLI program / the simulation itself, read
this first.
Run the program with python -m twobodyproblem_gui or python3 -m twobodyproblem_gui.
The program will open a window with some input fields. This is the main window where you input the values.
To save values, press Ctrl+S. The values will then be saved into a file.
If you do this action repeatedly, the former contents of the file (i.e. the saved values) will be overwritten!
To load saved values from this file, press Ctrl+L.
To save or load values through a file dialog,
press Ctrl+Shift+S or Ctrl+Shift+L.
It works the same way for saving and loading settings
from the settings window (open it with Ctrl+I).
These files will be saved in the YAML format (*.yml).
You can also select from a few presets (e.g. Sun, Moon, Earth)
to fill in some values instead of typing your own.
To do so, press Ctrl+E, select from the drop-down menus
and press one of the two buttons in the lower right corner.
To start the simulation, press the button in the lower right corner in the main window.

Participation in this README is always welcome!

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.