Skip to content

Latest commit

 

History

History
33 lines (18 loc) · 983 Bytes

README.md

File metadata and controls

33 lines (18 loc) · 983 Bytes

N-Body Simulation

This is an n-body simulation visualizer written with C and Python. It implements the Barnes-Hut Algorithm to simulate an open or globular star cluster.

Demo

Alt Text

Globular Cluster

Alt Text

Open Cluster

Real Star Clusters in the Universe

Globular Cluster

Globular Cluster

Open Cluster

Open Cluster

How to Run

To run the simulation, simply run the .sh files for open or globular clusters.

Syetem requirements:

GCC (In the .sh files it's gcc-7 but you can change that to your version)

Python (python3 in the .sh file but you can change that too)

Linux Shell or Linux