No Description

Stephen D 43d7525b23 readme 11 months ago
README.md 43d7525b23 readme 11 months ago
RigidMass.py d6e94d231d First commit 11 months ago
main.py d6e94d231d First commit 11 months ago
out.mp4 09170bd195 Some outputs at various stages in development 11 months ago
out2.mp4 09170bd195 Some outputs at various stages in development 11 months ago
out3.mp4 09170bd195 Some outputs at various stages in development 11 months ago
out4.mp4 09170bd195 Some outputs at various stages in development 11 months ago

README.md

Python gravitational engine

Written as a proof of concept before writing a better(faster) version in C.

out.mp4 - Consists of a single black hole, in which all other stars circle. Due to a bug, only the gravity between the stars and the black hole was calculated.

out2.mp4 - All stars weigh the same, but only the gravity with a specific star is calculated (again, a bug.)

out3.mp4 - The first simulation that properly handles gravitional forces between all stars at once.

out5-overnight.mp4 - As the name implies, this ran for about 8 hours overnight. This is much, much slower than the C version! It shows the time in the top left of the video.

In general, this code is pretty spaghetti-like, since it went through many different changes without refactoring. Sorry!