HOME | DD
#3d #game #gravity #space
Published: 2017-06-10 22:26:05 +0000 UTC; Views: 151; Favourites: 0; Downloads: 0
Redirect to original
Description
I have started coding the next version of the game. It is quite daunting, to be honest. No longer am I just using whatever simple version of science that fits in the easiest, no, I am now using actual, real science equations and... stuff. This first little test, which actually took three days to get right (I am testing more new things than just what is seen here) is among other things testing gravity equations. More precisely, Newton's law of universal gravitation . A cnetral dot ('star') is 100,000x as massive as any of the other dots ('planets'), so they orbit around it. Two got so close to the 'star' that they were flung out of their orbits, and several seem to be slowly escaping. But a small handful has found seemingly stable orbits around the 'star'.This will be used, as soon as possible, to start creating a universe that doesn't just exist, but grows from a 'cosmic birth' (equivalent to our real-universe Big Bang) and gathers into stars and galaxies as gravity pulls it together. Yeah, sounds easy enough............






















