SVG, Javascript. Here's the source of the demo.