Stephen D 1 year ago
parent
commit
43d7525b23
1 changed files with 12 additions and 0 deletions
  1. 12 0
      README.md

+ 12 - 0
README.md

@ -0,0 +1,12 @@
1
## Python gravitational engine
2
Written as a proof of concept before writing a better(faster) version in C.
3
4
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.
5
6
out2.mp4 - All stars weigh the same, but only the gravity with a specific star is calculated (again, a bug.)
7
8
out3.mp4 - The first simulation that properly handles gravitional forces between all stars at once.
9
10
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.
11
12
In general, this code is pretty spaghetti-like, since it went through many different changes without refactoring. Sorry!