Live data from Hacker News

Gravity Simulator

nowykurier.com

1–10 of 135 posts

Re: Gravity Simulator

#4
Be sure to click on the "Generate proto disk" button for instant action. :)

> Particle radius is log of mass.

Wouldn't it make more sense for the radius to be the cube root of mass (assuming uniform density)?

Re: Gravity Simulator

#7
It's really nice. Be sure to activate paths, I'm having a lot of fun using that to draw cool stuff :).

https://i.imgur.com/j3YwI5y.png

That was me trying to have a small particle making an 8-shaped path around two bigger ones that would be sufficiently far apart to not interact too strongly with each other. Of course, when the small particle went between the two bigger ones, it shifted their position a tiny bit, but sufficiently for those two to start very slowly moving towards each other, while the small particle was headed straight to the up-right direction. But when the two bigger particles became close enough to finally meet and become one single huge particle, it attracted back the small one, which since then goes back slowly to the huge particle only to shift it a bit and be "relaunched" by it for a new lap. The system seems to be totally stable that way.

Update: https://i.imgur.com/heHekdc.png

Re: Gravity Simulator

#10

Very cool! I was able to get 2 masses to oscillate around each other in a funny way[1]. Seems they keep going like that forever. What is this kind of equilibrium called? [1] http://imgur.com/FQYpo9V

Isn't that a normal orbit around a common centre of mass? As the objects have a similar size the centre of mass appears to wobble as it moves along. In the frame of the centre of mass, the objects would just go round in standard orbits.
Post reply on HN