Jason writes on Hackszine:

The “$1 Recognizer” is a simple gesture recognition algorithm created by Andy Wilson from Microsoft Research and Jacob Wobbrock and Yang Li from the University of Washington.

By simple, I mean that it’s under 100 lines of code that you can quickly add to your application to give it gesture recognition capabilities.

Gesture recognition for Javascript and Flash