/Galaxy

Primary LanguageCGNU General Public License v3.0GPL-3.0

Galaxy

GitHub issues GitHub watchers GitHub code size

About

This project allows you to run a simulation of the collision of two galaxies. The project was based on the law of universal gravitation.
Project use C++ standard 17

Demonstration

Demo animation

How use

Start with all parameter's

cd Galaxy
make ThreeBody

Start with 3 Body

cd Galaxy
make ThreeBody

Start with Sun Earth Moon system

cd Galaxy
make Sun-Earth-Moon

Start Collision

cd Galaxy
make Sun-Earth-Moon

Clean project

cd Galaxy
make clean