Code: Select all

`Gravity Fun at TestTubeGames.com: [ForceG: -5,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: -138,y0: 71,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: -100,y0: 71,vx: 0,vy: -21.899429779559423,t0: 0,who: 3,m: 0], [x0: -72,y0: 71,vx: 0,vy: -7.259590588081679,t0: 0,who: 3,m: 0], [x0: -49,y0: 72,vx: 0.04484848147995428,vy: -3.991514851715931,t0: 0,who: 3,m: 0]`

And watch. The asteroids slowly escape the star, and the closer to the star, the faster they leave. This effect also happens with other gravitational pulls (to around -3), and with planets instead of asteroids. They also may decay inwards, as well.

Is this just an artifact of the limited precision, or does this really happen (sort of like "inverse precession")? I'm pretty sure it's the former, though I don't understand why it doesn't happen at exponents closer to r^-2. (Or maybe it just takes quite a long time? No, this doesn't "decay":

Code: Select all

`Gravity Fun at TestTubeGames.com: [ForceG: -2,Qual: 1,Zoom: 1,xSet: 0,ySet: 0], [x0: 5,y0: 41,vx: 0,vy: 0,t0: 0,who: 1,m: 1000], [x0: 9,y0: 39,vx: -6.69,vy: -13.37,t0: 0,who: 3,m: 0]`

)