AS3 Gestures
From Wikicliki
using multitouch gesture (only working on multitouch screens)
- http://www.republicofcode.com/tutorials/flash/as3swipegesture/
- http://www.republicofcode.com/tutorials/flash/as3pangesture/
using levenshtein distance: it renders all your squiggles into numbers, and then compares it to see which squiggle number is closest using levenshtein distance
- http://www.bytearray.org/?p=91
- excellent guide based on this method: http://anidea.com/technology/behind-the-scenes-mouse-gestures-in-a-usable-way/
- similar method: http://workflowflash.com/22960/detecting-mouse-gestures-in-flash-with-as3.php
using line/sphere intersection algo: