You should also check out the stuff that this guy has done at http://www.walterzorn.com/
His javascript vector graphics library is pretty cool.
Cheers, Nick.