-
In this program we use numpy arrays to store the mass, position, velocity, and acceleration of the N bodies in our system. Each of these quantities is stored in an N x 3 array.
-
We use Leap-Frog integration to solve the differential equation associated with the system (F = m a), and plot the evolution of the system in 3D using matplotlib.
-
This project was inspired by the following project created by Philip Mosz: https://github.com/pmocz/nbody-python
-
Notifications
You must be signed in to change notification settings - Fork 0
kdeoskar/nbody
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published