jwgh: (Default)
Jacob Haller ([personal profile] jwgh) wrote2005-06-25 09:44 am
Entry tags:

yet another odd little game

http://homokaasu.org/gasgames/game.gas?21

Orbits seem to be the way to go on the early levels. Then again, it's not like I'm anywhere close to the high scores.

Re: Is it computing orbits correctly?

[identity profile] mmcirvin.livejournal.com 2005-06-25 04:16 pm (UTC)(link)
It's not a harmonic attractor (which would be Hooke's law, force increasing linearly with distance); looks more like a simple attempt to do inverse-square gravity with Euler integration. It has typical step-size problems at short distances.

oops

[identity profile] vardissakheli.livejournal.com 2005-06-25 04:20 pm (UTC)(link)
Been way too long for me to remember the correct names for physics concepts! I probably couldn't distinguish between Bremsstrahlung and Chrerenkov radation anymore either :-(

Re: oops

[identity profile] mmcirvin.livejournal.com 2005-06-25 05:24 pm (UTC)(link)
Actually, the orbits precess so much that I suspect it might be inverse-linear gravity. (People trying to get inverse-square gravity right often do this by accident, because they forget or don't know that the unit vector in the direction of r, divided by r2, is the same as the vector r divided by r3.)