I had the idea a few weeks ago and started creating a PowderToy clon in HTML5 Canvas with Javascript using processingjs. For those who want to play around or just want to take a look at this small project can do it here: http://tptapi.com/TPTJS/TPTjs.html (Thank to Lockheedmartin for uploading!)
Features:
note that TPTjs is optimized for firefox!
screenshots: http://i.imgur.com/KrwvmC1.png http://i.imgur.com/H08vavo.png
source: https://github.com/MrSalit0s/TPTjs
I could work on making it faster, but I have TPTAPI to work on. Though for anyone who wants to try it out you may go here:
> Also since Processing is basically Java (although it's not meant to be a Java library !) you could use all sorts of object-oriented Java things for various element classes.
interesting, i'll have a look at that.
> Though for anyone who wants to try it out you may go here: http://tptapi.com/TPTJS/TPTjs.html
Thank you for uploading this. unfortunately i hadn't the possibility to do it myself. added the link in my first post.