Processing

Processing is a marvellous application for doing neat stuff and now you can do it in web pages thanks to HTML5 and the excellent Javascript library from Processing.js.