KineticJS is an HTML5 Canvas JavaScript library that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.
With KineticJS you can drawn shapes and images, circle, rectangular etc and also you can animate, rotate, scale and set to interact with other shapes or user events.
It runs fast and can work with thousands of shapes simultaneously with high performance path detection feature. There are also few handy plugins built for the library which can be found in the “forums” of the resources.
Website : http://www.kineticjs.com/