How to use processing.js for simple animation on Web pages
While Processing.js can be used to
make simple drawings on a web page, it can also, when used with JavaScript, animate your drawings. This is done by placing the drawing you want to animate inside a loop, and then
changing those values...
See also:
Creating processing.js drawings.
Programming JavaScript home