an n-body simulation
This is a better version of 'nbody'. The equation is "correct" (in the sense of discrete and fixed time step simulation) in this one.
Love it :-) Seems to have Keppler's Law taken into account.
I have done this one already. See my first comment.
I guess my first comment disappeared. I looks to me as if the product of the masses isn't included in the force law between the masses.
I still have trouble to understand it (sorry). I did upload a new version that multiplies the mass of "Playfield current" but divides the result by its mass. The result is the same but the scripts shows the law more faithfully.
Website contents under a Creative Commons license.