gravity

simulation of gravitational interaction n-bodies

Image for thousand points:

Alt text

Command for compile project:

g++ src/body.h src/main.cpp -o run -lglut -lGL -lGLU -lGLEW -lpthread -lm

GitHub

View Github