Have a cookie :3
'' The $1 Unistroke Recognizer is a 2-D single-stroke recognizer designed for rapid prototyping of gesture-based user interfaces.'' [source]
With an interactive demo (js version)! Great stuff.
These are the gestures it recognizes...