Skip to content

pmocz/nbody-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

980b2ab Β· Jul 21, 2023

History

3 Commits
Sep 12, 2020
Jul 21, 2023
Sep 12, 2020
Sep 12, 2020

Repository files navigation

nbody-python

Vectorized N-body code (Python)

Create Your Own N-body Simulation (With Python)

Philip Mocz (2020) Princeton Univeristy, @PMocz

Simulate orbits of stars interacting due to gravity

Code calculates pairwise forces according to Newton's Law of Gravity

python nbody.py

Simulation