Specifies rules for switching the DotPanel to a circular mode,
switching the border behavior between wraparound and bounce,
setting position, velocity, and acceleration, and for closing the
window.
Calculates the acceleration of the ball by taking
the acceleration that was set and adding it to the combined
accelerations resulting from each of the different gravitational
fields.
This method paints an off-screen image to be used for the double
buffering.
It adds the balls current position to the vector of Points, then
reconstructs the balls path from the Points.