Canvas Events is an object that can emulate mouse events on canvas elements. It extends the HTML 5 canvas context object for a given canvas element, and can register event handlers to be called when mouse events on the canvas element occur. Currently, it supports the events click, dblclick, mouseover, mouseout, mousemove, mouseup, and mousedown events.
Gestures is an object that can recognize user gestures that form configurable shapes. It can listen to events of the user moving the mouse forming known gesture shapes. The object can recognize custom gesture shapes defined by a list of vertex points of the shape. A given callback function is invoked when the object recognizes a known user gesture shape. The object can also draw the gesture shape as the user moves the mouse.