You can see the examples live (source code on github repository)
This class could be used in all kinds of animations and games such as pool billard or air hockey ...
##Files to include : To use Ball.js, you only have to include Vector2D.js (a js implementation of the java class) and my own class : Ball.js :
##Improvements todo :
- Include Vector2D inside Ball.js to optimize garbage collection
copyright © 2012 Christophe Rosset (Topheman), released under MIT LICENSE