Skip to content

tannerstephens/N-Body-Sim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-Body-Sim

A simple 2D N-Body simulation

Requirements: Python 3.6, pygame

Run with python main.py

Controls:
                  Z - toggle zoom/body size
        Mouse Wheel - adjust zoom/body size
         Left Click - Place body
Left Click and Drag - Launch body
          Space Bar - Toggle Pause