A propagation and dispersion game - Creating a class

First test with ‪#‎javascript‬ ‪#‎HTML5‬ ‪#‎CSS3‬.
Creating a class function and a performance test on the canvas object. There is some potential !

More samples and useful functions here