Try processing
The following content was retrieved from eooes.me, and published on Wednesday, November 2nd, 2011
Here is an example of processing that I have been played with using processing programming with the help of processing.js, I would be able to attach my processing work on my machine into the website.
Basically, above program you should be able to see a 20×20 box with full of color. and If you move the mouse in the panel, the color in each box change corresponding to the mouse X-Y position.
Below, This consists of 25X25 boxes, each box has 3-small rectangles by random positions and sizes. And it changed the team color according to your mouse.