Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a2805d0b5c808305

Jump to content

// Workers AI · dad joke modeWhat did Gravit say? "I'm attracted to you.

From Wikipedia, the free encyclopedia
Gravit
DeveloperGerald Kaszuba
Release2005; 21 years ago (2005)
Stable release
0.5.1[1] Edit this on Wikidata / 5 March 2014; 12 years ago (5 March 2014)
Written inC
Operating systemCross-platform
Available inEnglish
TypeEducational software
LicenseGPL
Websitegravit.slowchop.com [dead link]
Repository

Gravit[2] 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

[edit]

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

  • View the simulation in 3D, optionally using stereoscopic imaging
  • Can be installed as a screen saver in Windows
  • Record a simulation, then play back at any speed
  • Load / Save a recorded simulation
  • Mouse controllable rotation
  • Console with script execution
  • See an octtree being created in real-time
  • Colours can be based on mass, velocity, acceleration, momentum or kinetic energy
  • Initial particle locations are scriptable (Lua)

Status

[edit]

As of some time in 2017, the website is dead, though the GitHub repository remains alive.

See also

[edit]

References

[edit]
  1. "Release 0.5.1". 5 March 2014. Retrieved 11 December 2018.
  2. Gerald Kaszuba et al. (2003-2012). Archived 2014-02-18 at the Wayback Machine Gravit - A gravity simulator.
[edit]