Skip to content

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

License

Notifications You must be signed in to change notification settings

gd-codes/gravity

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages