Raphael.js

Raphaël is a JavaScript library for drawing on web pages. Basically one draw shapes of different types, likes circles, text, rectangles, images. Shapes support a large number of attributes that give the shape's form, like colors, transformations, content, borders, animations, (and many more).

Official site:
 * https://dmitrybaranovskiy.github.io/raphael/

Repository:
 * https://github.com/DmitryBaranovskiy/raphael

Demo:
 * http://jsfiddle.net/9f4wM/147/