Adding gravity into a Java applet
807603Jan 4 2008 — edited Jan 4 2008Hey guys,
I have an array of 10,000 dots (ovals) on my screen, and I am trying to make a simple physics simulator, that simulates gravity between these dots. I would like them to interact.
I'm not really sure where to start, Im not sure if there is a Java method that does this, but anyhow, can someone please explain to me how i would go about doing somthing like this.
Thanks in advance!
Andrew