Advertisement
4_2005-2006 Math/ Dates #151618

Gravity Simulator (2D)

A simple 2D gravity simulator between particles of varying sizes. The gravity strength, along with other parameters can be modified, with the program also performing 2D collision detection and reaction, using conservation of momentum and energy laws. This is a small program I knocked up for school, so is unfortunately not commented and has scope for improvement, but it could be of interest for basic graphics and physics programming.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine