Spheres are enclosed in a cube, either following gravity or attraction to the center of the cube. Collision detection and bouncing from the border planes. This time the spheres are rendered as 2D circles.
a second test.
done with processing.org
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?