Gravit


Gravit
is a free and open-source gravity simulator distributed under the GNU General Public License. The program is available for all major operating systems, including Linux and other Unix-like systems, Microsoft Windows and Mac OS X.
Gravit uses the Barnes–Hut algorithm to simulate the n-body problem.

Description

Gravit is a gravity simulator which runs under Linux, Windows and Mac OS X. It is released under the GNU General Public License which makes it free. It uses Newtonian physics using the Barnes-Hut N-body algorithm. Although the main goal of Gravit is to be as accurate as possible, it also creates beautiful looking gravity patterns. It records the history of each particle so it can animate and display a path of its travels. At any stage you can rotate your view in 3D and zoom in and out. Gravit uses OpenGL with Lua, SDL, SDL_ttf and SDL_image.
Features
As of some time in 2017, the website is dead, though the GitHub repository remains alive.