Projects / Gravit

Gravit

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

Tweet this project Short link

Rss Recent releases

  • Rrelease-mid
  •  10 Jun 2005 02:17
  • Rrelease-after

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.

  • Rrelease-mid
  •  08 Jun 2005 05:12
  • Rrelease-after

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.

  • Rrelease-mid
  •  31 May 2005 06:30
  • Rrelease-after

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.

  • Rrelease-mid
  •  15 Apr 2005 01:12
  • Rrelease-after

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.

  • Rrelease-mid
  •  13 Apr 2005 07:30
  • Rrelease-after

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.

Rss Recent comments

Rcomment-before 04 Apr 2005 12:46 Rcomment-trans florinandrei Rcomment-after

Wow!!! 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.

0f53232033986864aa8e6154a8446f7d_thumb

Project Spotlight

GNU Moe

A powerful and user-friendly console text editor.

No-screenshot

Project Spotlight

Sonar

A platform to manage source quality.