gd-codes / gravity

Simulate the orbits of objects in 2D free space based on Newtonian gravitation - An app built with Python and Kivy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gravity

Simulate the interaction of objects in 2D space based on Newtonian gravitation - An app built using Python and Kivy

Create objects by specifying their initial coordinates and other parameters

Run the simulation and watch them fly around !

Running the App

This app is written using the Python language and Kivy GUI, which are cross-platform, and can work on several kinds of devices/OSes. No standalone builds/distributions have been created yet for this app, so you will have to run from source :

  1. An installation of Python 3.7 or newer is required on your system.
  2. git clone this repository into a directory of your choice. The app will be installed there.
  3. Install the modules that are not part of the python standard library :

Note: It is highly recommended to install Kivy in a venv. Use the app/repo directory as a virtual env.

  1. Run python3 main.py

About

Simulate the orbits of objects in 2D free space based on Newtonian gravitation - An app built with Python and Kivy

License:Apache License 2.0


Languages

Language:Python 100.0%