by Rich Hayden (5 Submissions)
Category: Math/Dates
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
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.