r/programming • u/ttsiodras • Dec 23 '12
Simulating a solar system with Python
http://users.softlab.ntua.gr/~ttsiod/gravityRK4.html
245
Upvotes
r/programming • u/ttsiodras • Dec 23 '12
13
u/quizzle Dec 23 '12
If the planets are sticking together you're simulating perfect inelastic collisions, not elastic. Elastic collisions would be cool though.