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 For drawing it uses the library JSXGraph, see

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