Gestures with JavaScript

This is a browser independent version of the $1 Gesture Recognizer in JavaScript from Jacob O. Wobbrock, Andrew D. Wilson, and Yang Li1 (University of Washington and Microsoft Research), see http://depts.washington.edu/aimgroup/proj/dollar/. For drawing it uses the library JSXGraph, see http://jsxgraph.org.

Draw the gesture on the left canvas and see the result (in real time) in the right canvas.