To view this content, you need to install Java from java.com

source code boucyballs
built with processing and traer.physics.

2 balls that repel each other that are attracted to the mouse.
Also some really simple collision detection.