aryabhatta-dey / n-body

A N-body simulation using Leapfrog integration method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

A N-body numerical integration simualtor based on the Leapfrog Integration method and using Numpy and Matplotlib.

Installation

Requirements

  1. Python
  2. Numpy or on Linux install the official package provided by your distro.
  3. Matplotlib or on Linux use the official package provided by your distro.
  4. A GUI backend for Matplotlib. Tested with Tkinter on Linux.

To run the code on Linux do

$ git clone https://github.com/aryabhatta-dey/N-body-leapfrog
$ python ~/N-body-leapfrog/N-body.py

For windows clone the repo and run it using your favorite method that you would use for any other Python code.

About

A N-body simulation using Leapfrog integration method


Languages

Language:Python 100.0%