Gravit is a gravity simulator. 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 that 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, Lua, SDL, SDL_ttf, and SDL_image.
| Tags | Games/Entertainment Simulation education Scientific/Engineering |
|---|---|
| Licenses | GPL |
| Operating Systems | Windows Windows Mac OS X POSIX Linux |
| Implementation | C |
Recent releases


Changes: This version has console tab completion and some new shortcut keys. The console will now render when accessing the console with drawosd set to 0. The stereoosd command was added to view the osd in stereo. A few bugfixes were made.


Changes: Stereoscopic mode was fixed to show simulation in the center of your view. The old Makefile is included and autoconf now uses sdl-config. Many bugfixes were made.


Changes: Gravit now has scriptable spawn locations using Lua. The source now compiles with a configure script. There are per-user preferences when building from source. You can replay in slow motion using a negative value for frameskip. Your view is automatically zoomed in or out to a newly spawned simulation. Many other changes were made, including extra color modes and more commands.


Changes: This release has a working Mac OS X Makefile. There is now console help accessible by typing 'help' in the console. You can list and delete saved simulations (savelist, savedelete). The console is now easy to navigate using cursor keys.


Changes: Several new commands and features were added. The camera will follow the center of the simulation by default. The screen saver has changed quite a bit. Timer functionality was added. Fullscreen can be toggled by hitting alt-enter. A new particle rendering mode that is more compatible was implemented. Several other features and improvements were made.
- All comments
Recent commentsWow!!! Awesome!
Three thumbs up for the idea! I'm a physics geek turned computers geek, and i always liked this kind of applications.
I didn't try yet to compile it on Linux, but probably i'll try one of these days.