Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 1.29 KB

README.md

File metadata and controls

19 lines (13 loc) · 1.29 KB

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