check out SVG. that can do wot you want.
i did, and look wot i found
- funny that, eh?!
btw: Walter's library is very cool, but it's also very slow to render. not ideal for websites. SVG would still be best: you can code that via JS too.