Mouse Gesture Recognition by Didier Brun

I have worked yesterday on a simple implementation of a mouse gesture recognition algorithm.

Here's a demonstration.
Mouse Gesture
I'll probabaly publish a MouseGesture.as class soon, so stay tuned.

Mouse Gesture [ADD : 2007-05-17]

Open Source This project is OPEN SOURCE under RPL License.
2007-05-17 v1.0 mouse_gesture_v1_0.zip

The zip file contains the MouseGesture class + the full code of sample demo above.

Algorithm

Mouse Gesture Algorithm

  1. Each letter is defined by a n ' 8-directions gesture sequence
  2. The mouse moves are saved with the same 8-directions sensibility
  3. A Levenshtein distance is calculated from each letter to the user moves
  4. The algorithm return the best candidate (lowest levenshtein cost)

Usage

Example for the B :

gesture=new MouseGesture(stage);
gesture.addGesture("B","260123401234");
gesture.addEventListener(GestureEvent.MATCH,matchHandler);

function matchHandler(e:GestureEvent):void{
trace (e.datas+" matched !")
}

Comments (79)

  1. Ahmet wrote::

    Tested and it worked greatly. I looking forward to see us your MouseGesture class ;)

    Friday, May 11, 2007 at 2:24 pm #
  2. max wrote::

    La classe ! C’est l’algo de Grafitti ou c’est un algo maison ?
    PS : La typo de la fenêtre de droite déconne chez moi, j’ai une petite Times New Roman à la place, assez illisible

    Friday, May 11, 2007 at 2:50 pm #
  3. qureyoon wrote::

    NICELY DONE !

    Friday, May 11, 2007 at 2:55 pm #
  4. marco wrote::

    awaesome

    Friday, May 11, 2007 at 4:10 pm #
  5. Tek wrote::

    It works great !

    As max saids (in french) the font size in the right box is too tiny to be easyly read.

    In wait for the sources and the complete letter sign list (the fox hide the arrobase but it works). ;)

    Friday, May 11, 2007 at 5:21 pm #
  6. Didier Brun wrote::

    Thanks for your comments, I’ve uploaded a new version :

    - No more tiny font on the right textfield
    - The @ is working now (will you find it ?)

    Max > A part of the algorithm looks like grafitti (the mouse gesture capture), but the most important part (match process) is based on a Levenshtein distance algo.

    Friday, May 11, 2007 at 5:43 pm #
  7. Thibault Imbert wrote::

    Nice and smooth ;)

    Friday, May 11, 2007 at 6:15 pm #
  8. Absolutely incredible! I have a touch screen application that I would love to try this on!

    Oh, and nice bonus. I haven’t seen that pink, fluffy thing for many years. ;)

    Friday, May 11, 2007 at 7:01 pm #
  9. joa ebert wrote::

    Nice one. But not the first one ;) Here is an older Flash 8 version with the same character set:

    http://www.gskinner.com/blog/archives/2005/03/gesture_recogni.html

    Friday, May 11, 2007 at 10:28 pm #
  10. Tek wrote::

    hu hu I can’t get the secret picture with the flower. I need it, I want it, I will get it :)

    Could you place the dot that marks the start of the drawing ?

    Saturday, May 12, 2007 at 12:41 am #
  11. Tek wrote::

    Thank you for the flower drawing path and for this lovely bonus, even if I prefer her less hairy ! :)

    Saturday, May 12, 2007 at 3:58 pm #
  12. Didier Brun wrote::

    joa > I knew Grant Skinner one, he was not the first and I’m surely not the last. However, my algorithm is strongly different :)

    Tek > you’re welcome

    Saturday, May 12, 2007 at 4:12 pm #
  13. fs wrote::

    Yep, It can be cool for wii !

    Sunday, May 13, 2007 at 12:50 am #
  14. Boris wrote::

    i got the secret picture finnaly !!!!

    Sunday, May 13, 2007 at 2:16 pm #
  15. draw.logic wrote::

    Well done! Yes very smooth and the easter egg is sweet, literally.

    Monday, May 14, 2007 at 10:25 am #
  16. Henry wrote::

    nice work, makes me remember the great “Black & White”. The “0″ and the “6″ seem to make problems in differentiating, though.

    Monday, May 14, 2007 at 11:45 pm #
  17. Tek wrote::

    Right for the 6 … same problem here.

    Sorry for you Foxy, probably the fourth special sign in your sign map :)

    Tuesday, May 15, 2007 at 10:57 pm #
  18. Prakashan wrote::

    Really cool!

    Wednesday, May 16, 2007 at 8:54 am #
  19. James Rowan wrote::

    Ha I love it, I’ve been wanting for some bright spark to do a demo in flash.

    You mind if I do a link to it, so user can try out gesture interaction.

    You planing on posting the code so I can have a pick about at it?

    Excellent

    James

    Wednesday, May 16, 2007 at 10:43 pm #
  20. Didier Brun wrote::

    Hi there,

    the sources are online now ! have fun :)

    Friday, May 18, 2007 at 1:17 am #
  21. kouik wrote::

    Bon job! J’était justement en train de faire une reconnaissance d’écriture mais pas la même méthode…interessant!

    Friday, May 18, 2007 at 8:54 am #
  22. Didier Brun wrote::

    Eratum : the digit 1 is not correct (same for the i)

    Replace : mg.addGesture(“1″,”2″)
    by mg.addGesture(“1″,”72″);
    in GestureDemo.as

    ’7′ for the first -45° segment of the “1″, then ’2′ for the vertical one.

    Friday, May 18, 2007 at 11:59 am #
  23. Hi

    Thanks for the source, much appreciated I’ve put the demo and a credit on mousegesture.org

    I was playing with the idea of writing a demo in action script, but it is a little beyond me.

    I’ve written a gesture engine myself in Vb, nowhere near as accurate though, http://www.cityzen451.co.uk there is a video of it on youTube

    http://www.youtube.com/watch?v=RNggSmVJ7Ow

    You dont have any plans to port your engine to vb by any chance? :)

    Dr Rowan:)

    Friday, May 18, 2007 at 4:57 pm #
  24. Didier Brun wrote::

    Hi James, you’re welcome.
    I think it’s not too difficult to port it to vb since the class is very simple, you should do this :)

    Sunday, May 20, 2007 at 7:00 pm #
  25. Velias wrote::

    Great work! I tried many ways to recognize mouse gestures, but all of them were slow and could recognize only the simplest curves… Your idea is so simple and so smart!

    Monday, May 21, 2007 at 11:59 am #
  26. C4RL05 wrote::

    Very nice. Excellent work as usual.

    Tuesday, May 22, 2007 at 12:51 pm #
  27. Clever, the algorithm is very cool. I really think its fantastic that you took time to do a little diagram and illustration so that we could understand how you used the Levenshtein distance to detect mouse gestures.

    Friday, May 25, 2007 at 2:20 am #
  28. wodesign wrote::

    so good idea!

    Thursday, May 31, 2007 at 6:33 am #
  29. Grant Skinner wrote::

    Great idea on the algorithm – it’s very cool to see people solving the same problems in different ways.

    My original version was actually Flash 6, and I believe it actually was the first time it was done with any success in AS.

    Of interest, one other person released a mouse recognition system using a directional tracking algorithm similar to yours at the same time I released mine (spring 2003?), but it had no fault tolerance and as such was very inaccurate. You’ve solved that problem with the application of the Levenstein distance algorithm, which is a great idea.

    Cheers.

    Friday, June 1, 2007 at 8:22 pm #
  30. Grant Skinner wrote::

    Really accurate, too! Nice work all round!

    Friday, June 1, 2007 at 8:26 pm #
  31. Didier Brun wrote::

    Thanks guys :)

    Tuesday, June 5, 2007 at 6:51 pm #
  32. Beach wrote::

    真是好东西!

    Thursday, June 14, 2007 at 5:12 pm #
  33. chencn wrote::

    in Chinese 高实在是高

    Sunday, June 17, 2007 at 5:34 am #
  34. nicoptere wrote::

    always on the cutting edge Didier !
    that one’s rather impressive and might come really handy when used in an appropritae project.
    keep it up ! :)

    Wednesday, June 20, 2007 at 6:55 pm #
  35. Yuchi wrote::

    AWESOME. I’m waiting the class for implement it. Awesome work. Welldone

    Saturday, July 14, 2007 at 2:58 am #
  36. Didier Brun wrote::

    nicoptere > Yeh, thanks, see you soon around a beer :)

    Yuchi > don’t wait, the class is still available :)

    Monday, July 16, 2007 at 3:16 pm #
  37. Chris wrote::

    great job…
    I have a problem with the demo file. When I am trying to open ‘GestureDemo.fla’ I get the following message:
    Unexpected file format.
    I am using Flash 8 Professional.
    Thank you in advance.

    Tuesday, October 16, 2007 at 11:51 pm #
  38. Chris, it’s AS3/Flash CS3, you need CS3 to open it.

    Really nice work on this. I’d never seen Grant’s example or anything like this done in Flash and before reading the comments was floored. I still am floored, but you know what I mean.

    I’ve been playing alot of DS lately and the first thing that came to mind was to make a DS in Flash. :P

    Friday, October 26, 2007 at 3:58 am #
  39. Bernardo Kuri wrote::

    Excellent work! Is there any chance of releasing this source code under a commercial license? Please e-mail me to let me know. Thanks!

    Tuesday, October 30, 2007 at 10:25 pm #
  40. ntvy wrote::

    Good work!
    But it can’t distinguish “A” and “1″. Though I try many time.

    Thursday, November 1, 2007 at 4:12 am #
  41. Didier Brun wrote::

    Chris > Thanks to Matt :)
    Matt > Thanks !
    Bernardo > Yes, I’ve sent you an email
    ntvy > Yes, look at my comment #22, I have to update the demonstration.

    Saturday, November 3, 2007 at 11:21 pm #
  42. Dave wrote::

    The demo is fantastic and I highly appreciate your efforts.I tried to compile the GestureDemo.as file using flex SDK2,but faced the following errors:
    Error: Call to a possibly undefined method stop through a reference with static type
    if(fadeTween)fadeTween.stop();
    Error:Access of undefined property Regular
    fadeTween=new Tween(draw_mc,”alpha”,Regular.easeIn,draw_mc.alpha,0,20);
    Error:Incorrect number of arguments.Expected no more than 5.
    fadeTween=new Tween(draw_mc,”alpha”,Regular.easeIn,draw_mc.alpha,0,20);
    The same errors were reported for fiabTween()function as well.

    I am new to actionscript.Kindly tell me how to execute the GestureDemo.as file correctly.Thanks

    Monday, November 26, 2007 at 9:56 am #
  43. Didier Brun wrote::

    Hi Dave,

    Maybee the Tween classes are different on Flex 2, you can use MouseGesture.as class at least ?

    Tuesday, November 27, 2007 at 1:10 pm #
  44. Dave wrote::

    Yes maybe the Tween classes are different in Flex 2.When I compiled the MouseGesture class using mxml compiler,I got the following error

    Error:A file found in the source path must have the same package structure as the definition’s
    package ‘com.foxaweb.ui.gesture’

    Kindly tell me if there are other ways of executing AS3 and generate a .swf file without using a flash player (so that the generated .swf file can be viewed in a browser).Should I use another compiler?
    Thanks

    Wednesday, November 28, 2007 at 11:08 am #
  45. ntvy wrote::

    great ideal

    Wednesday, January 9, 2008 at 6:00 am #
  46. Marcus B wrote::

    I believe your Levenshtein algorithm is incorrect. After researching other implementations such as http://sourceforge.net/projects/simmetrics/

    http://en.wikipedia.org/wiki/Levenshtein_distance

    It appears costleven in MouseGesture:
    for (x=1;x

    Thursday, January 24, 2008 at 4:09 am #
  47. Didier Brun wrote::

    Hi Marcus,
    well I’ve not ‘strictly’ implemented Levenshtein, I’ve modified it for my need.

    Thursday, January 24, 2008 at 12:45 pm #
  48. magicianzrh wrote::

    nice work,and i really enjoy the algorithm of the mouse gesture

    Sunday, February 3, 2008 at 9:12 am #
  49. szataniol wrote::

    Great work! :)

    Friday, June 13, 2008 at 3:22 pm #
  50. Very Nice.

    Tuesday, September 16, 2008 at 3:49 pm #
  51. Andy wrote::

    I tried use this in Flex using Flex sdk 3.2, but failed.
    I changed lines 141,142 in MouseGesture.as to disable weak reference and it works again.

    Sunday, November 30, 2008 at 7:18 pm #
  52. Kyle wrote::

    Excellent class Didier.
    Just one question, it seems if you have only few mouse gestures like simple ones:
    mg.addGesture(“BACKSPACE”,”4″)

    a lot of free drawing will be recognized as ‘backspace’ in this case since it falls into fiability? Is there a way to prevent this? For example will it make a lot difference if I do:
    mg.addGesture(“BACKSPACE”,”44444″), in another word to make the gesture more recognizable for certain minimal length of drawing at one direction? The ’44444′ doesn’t seem to help.

    Friday, December 19, 2008 at 10:10 am #
  53. Didier wrote::

    Hi Kyle,
    To solve this issue, you have to modify the algorithm. Try to add an extra cost when a letter is removed (this cost is null actually)

    Saturday, December 20, 2008 at 3:04 pm #
  54. blprnt wrote::

    Nice work. This works well.

    I actually built a gesture recognition system in Flash 4. It certainly wasn’t anywhere near as smooth as this implementation, but it used a similar home-brewed system in the back.

    In those days, we didn’t have arrays – so there was a complicated and really irritating system of checking through the possible signatures.

    I may have a version of it kicking around somewhere… I’ll have to crack out the backup drives and have a look.

    Tuesday, December 23, 2008 at 12:15 am #
  55. Maq wrote::

    How abaut Flash lite 2.1? is compatible with this?

    Saturday, December 27, 2008 at 9:05 am #
  56. kyle wrote::

    Hi Didier:

    Can you pls elaborate abit more? What do you mean by ‘when a letter is removed?’.. And by ‘modify the algorithm’, do you mean by changing the DEFAULT_PRECISION or DEFAULT_FIABILITY, or actual algorithm?

    My problem again is lots of free-drawings are recognized as one of my small set of registered Guestures. I think similar problem is in your example as well, if you do an bottom-up I, it will be always recognized as N, is there a good solution for such cases?

    Thanks alot

    Sunday, January 11, 2009 at 10:20 pm #
  57. Laura wrote::

    hey, just wondering if you could help out …

    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at GestureDemo/matchHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at com.foxaweb.ui.gesture::MouseGesture/matchGesture()
    at com.foxaweb.ui.gesture::MouseGesture/stopCapture()

    Tuesday, June 2, 2009 at 4:26 am #
  58. Jason wrote::

    The links appear to be dead. Hopefully, they’ll be back online so I can try this out. Thanks!

    Friday, July 10, 2009 at 7:57 pm #
  59. Rémi wrote::

    Salut,

    Le lien semble mort depuis plusieurs jours. =( … ;)

    Wednesday, July 15, 2009 at 3:10 pm #
  60. Didier Brun wrote::

    The links are up now :)

    Monday, July 20, 2009 at 11:56 pm #
  61. Орно wrote::

    круто :-)
    кстати есть и другие темы. Я даже могу фотку вам скинуть но почты не нашел. лучше думаю просто залить на фото обменник.

    Tuesday, July 28, 2009 at 10:07 am #
  62. btrosch@comcast.net wrote::

    This is great! Awesome work, man! I wish you could convert it to AS2 though, so then it could be used for both.

    Tuesday, July 28, 2009 at 3:06 pm #
  63. Div.q wrote::

    mouse gestures engine of ENCSOFT works like yours, but a little different, no mouse button holding, just moving the mouse.

    their site: http://www.mouse-gesture.com

    Saturday, September 19, 2009 at 6:13 am #
  64. tomassi wrote::

    nice work! I really like this,
    however i do have one question:
    is there anyway i can resize or constrain the rectangle where you can draw? Because now it seems like i can draw anywhere on the stage and it will always listen to the mouse.

    i tried drawzone.width and mouseZone.width/height but no luck..

    plz help!

    Sunday, November 29, 2009 at 6:05 pm #
  65. Ahrengot wrote::

    Great stuff that’s fun to play with :)

    Just to clarify, the RPL license means i wouldn’t be able to sell any components that implement this class on say activeden.net or flashcomponents.net, right?

    Wednesday, June 23, 2010 at 9:28 pm #
  66. Jeff Howard wrote::

    Hi Didier,

    This is a really excellent class and demo that fits very well with a project that I’m working on. Unfortunately, I can’t get the .fla file to play outside of your web page. The demo works fine on your web page above, but when I download the zip and publish the swf myself from the .fla file, the background image appears without allowing me to draw any gestures. I’m using Flash CS5. I wonder if I have my publish settings or any other settings configured incorrectly. Any help would be greatly appreciated.

    Thursday, August 12, 2010 at 11:38 pm #
  67. nadous wrote::

    Great work. I took it and did this : http://www.youtube.com/watch?v=xc7kA2yuKpM

    Tuesday, August 17, 2010 at 4:49 pm #
  68. iPhone touch gesture wrote::

    Hi Didier,

    I am very interested to translate your code to objective-c for an iphone compatible version!
    What do you think?
    If you agree, I might need a few hints though, if you don’t mind…

    Wednesday, August 18, 2010 at 2:12 am #
  69. Rodney wrote::

    I think that this would be great as an admin/secret login module. If the user types in their info, then regular login, if they use mouse gestures, then they gain access to the admin section.

    Sunday, September 26, 2010 at 7:56 am #
  70. puneet kalra wrote::

    How to implement this algorithm in objective c

    Monday, October 25, 2010 at 6:23 am #
  71. James wrote::

    Thank you very much for this. I will be using it in an upcoming game.

    Monday, November 8, 2010 at 10:30 am #
  72. acepharieliem wrote::

    Hello!
    I’ve recently augment
    a marvelous search league –
    <a href=praca kraków
    P.S. Yahoo – all will-power be drill! Google: nothing was categorically adrift…
    praca
    Bye to complete!
    praca kraków

    Monday, November 15, 2010 at 12:45 am #
  73. Zero wrote::

    Hello! Great work! Is it posible to disable gestures beyond the drawzone mask?

    Friday, February 4, 2011 at 12:35 am #
  74. chenyungui wrote::

    This days i just try your code, when i am try:
    var a:Array = [2, 6, 0, 1, 2, 3];
    var b:Array = [2, 6, 0, 1, 2, 3];
    trace(costLeven(a, b)); // return 1.

    i think in function costLeven(); the end of code should be:
    return w[a.length][b.length];

    Monday, April 25, 2011 at 8:48 am #
  75. Arindam Mojumder wrote::

    No its not working properly. Many time it is showing wrong alphabet or letter.
    But still it is awesome…

    Thursday, June 30, 2011 at 8:28 am #
  76. jack wrote::

    i made a port in Obj-c.
    it’s available here:
    https://github.com/divol/gesture-Carnival
    i changed the levenstein algo, as the one included into the code source do not return a good result using the patterns to recognise as entry. strange

    need to be tuned

    i made a test bet for iphone, il’d add

    Tuesday, July 19, 2011 at 6:03 pm #
  77. Tasovi wrote::

    Does this also work with touch guestures?

    Tuesday, February 7, 2012 at 12:18 pm #
  78. tasovi wrote::

    does this also work with touch?
    or only with the mouse?

    Monday, February 13, 2012 at 4:21 pm #
  79. Norel wrote::

    Works perfectly. Thanks !

    Monday, October 22, 2012 at 5:51 pm #

Trackbacks/Pingbacks (49)

  1. [ draw.logic ] AS3 Mouse Gesture Recognition « on Monday, May 21, 2007 at 3:49 am

    [...] AS3 Mouse Gesture Recognition May 20th, 2007 — drawk Didier Brun of ByteArray just keeps throwing down.  Here is another great showcase of the power of AS3 and the tools that can be built with it, strongly based on alogorithms proven in other hardcore languages. This project is a Mouse Gesture Recognition lib for AS3 [...]

     
  2. [...] Didier Brun вновь поражает своим экспериментами на ActionScript3. В двух словах, он разработал алгоритм распознования движении мыши на AS3. Т.е. мышкой, вы рисуете букву, цифру (символ) – он автоматически появляется в текстовом поле. [...]

     
  3. [MitchBox] - 米奇的藏寶箱 on Monday, June 25, 2007 at 8:47 am

    [資源]-超猛的ActionScript3.0資源網站 ~ ByteArray.org…

    上禮拜回老家
    再加上週日都在玩電吉他
    所以又好幾天沒寫文章了~>0<
    今天就來介紹一個滿實用的網站 – ByteArray.org

    而這個網站是以ActionScript3.0為主
    進行開發一些實驗性的Project
    目前的Proj…

     
  4. [...] Flex/Flash Mouse Gesture Recognition [...]

     
  5. [...] i was able to understand the code of the gesture recognition script from Bytearray, and was able to implement it in a new package for use with the TUIO system. Concluding that i am [...]

     
  6. [...] 说几个有趣的东西给大家瞧瞧(页面中都有源码下载): 第一个,Flash识别鼠标手势。 点这儿直接观看演示 [...]

     
  7. Zicht weblog on Thursday, October 25, 2007 at 4:39 pm

    Mouse Gestures in Flash…

    Ik was afgelopen week op zoek naar een algoritme voor een project toen ik hier tegen aan liep: “muis gebaren herkenning”. Een hoop vroegere Palm gebruikers herkennen het vast wel. Een snelle manier om met een muis of pen tekens in te voeren. Erg indr…

     
  8. [...] wrote an interesting post today on Mouse Gesture Recognition [ by Didier Brun aka Foxy ]Here’s a quick [...]

     
  9. izms » Blog Archive » links for 2008-01-11 on Saturday, January 12, 2008 at 12:19 am

    [...] Mouse Gesture Recognition [ by Didier Brun aka Foxy ] ByteArray.org (tags: actionscript flash gesture mouse as3 interface interactive interesting download) [...]

     
  10. Essential ActionScript 3 Classes #1 | Psyked on Friday, May 9, 2008 at 10:35 am

    [...] libraries.  There’s a JPEG encoder, PDF generator, Zip file generator and even a class for gesture recognition, and many more besides.  It’s worth a look. May 9, 2008 | In ActionScript | No [...]

     
  11. NudoruUdon on Wednesday, August 6, 2008 at 10:43 pm

    [...] alternative input scheme. As a first step, I’ve taken the Flash Gesture recognition code from Didier Brun and modified it to work with a Wii remote instead of the mouse. It works pretty well – some of the [...]

     
  12. [...] http://www.bytearray.org/?p=91 Pretty cool! Continue reading » · Written on: 10-10-08 · No Comments » [...]

     
  13. » AS3 Mouse Gesture Recognition [ draw.logic ] on Sunday, November 9, 2008 at 6:10 am

    [...] built with it, strongly based on alogorithms proven in other hardcore languages. This project is a Mouse Gesture Recognition lib for AS3 [...]

     
  14. AS3 Gesture recognition « 小古的世界 on Friday, November 14, 2008 at 6:26 am

    [...] Gesture recognition http://www.bytearray.org/?p=91 Explore posts in the same categories: [...]

     
  15. Think louder » 鼠标动作算法实现 on Wednesday, December 10, 2008 at 9:08 pm

    [...] 一个基于ActionScript的鼠标动作实现 [...]

     
  16. [...] with the stylus on the DS. To simulate this in Flash, I used mouse gesture recognition based on the excellent class provided by Didier Brun. This class was originally intended to identify written characters, but I [...]

     
  17. [...] Here is the mouse gesture recognition flash library I showed you the other day. I’m pretty sure it can be rewritten to our needs. [...]

     
  18. [...] Mouse gesture recognition class for Actionscript 3.  If you’ve used a PDA with a stylus to jot notes down, then you have seen the way a touchscreen translates squiggly lines into recognized characters.  This class by Didier Brun does that in Flash.  I haven’t test-driven it, but Didier’s example code looks super easy to use.  If you ever want to deploy an app in an environment with a stylus (like a DS), this could come in handy. [...]

     
  19. [...] в иностранной части сети, нашлось замечательное решение, позволяющее распознавать жесты мыши. Такого [...]

     
  20. Blauhgue » Mouse gesture recognition on Tuesday, January 20, 2009 at 5:39 pm

    [...] me rappelai très bien du “MouseGesture” de Didier et j’avais déjà songé à l’adapter. Sauf que j’étais trop teubé et [...]

     
  21. [...] I wanted to use simple trig rules, in order to have as less computation as possible, but soon realised that I was in need with a grid and vectors… when I discovered the Levenshtein algorythme, and saw that It had already been ported to as3 by Didier Brun alias Foxy. [...]

     
  22. [...] キーボードを切り替えてGestureを読み込み。初回起動は辞書データの読み込みに1分強かかります。気長に待ちましょう。 グレー部分が入力領域です。真ん中から左で文字入力。右で数字入力です。 入力方式はMouse Gesture Recognition [ by Didier Brun aka Foxy ] < ByteArray.orgを参考に。 [...]

     
  23. adam.benjamin.thomas » Deconstruct red-issue.com on Sunday, March 22, 2009 at 10:26 pm

    [...] last import statement is a class that helps us recognize mouse gestures. The Mouse Gestures Class was written by Didier [...]

     
  24. [...] Mouse Gesture Recognition [...]

     
  25. jQuery Fancy Gestures | anant garg on Thursday, May 21, 2009 at 8:51 pm

    [...] This script is a a port of the mouse gesture recognition action script by Didier [...]

     
  26. jQuery Fancy Gestures « Dogfeeds——IT Telescope on Friday, May 22, 2009 at 12:49 pm

    [...] This script is a port of the mouse gesture recognition action script by Didier [...]

     
  27. [...] plugin is a port of mouse gesture recognition with ActionScript & uses Walter Zorn’s VectorGraphics [...]

     
  28. [...] Android port of Fancy Gestures (and original Mouse Gesture Recognition) [...]

     
  29. Enable Mouse Gestures With jQuery | rapid-DEV.net on Monday, June 15, 2009 at 12:23 am

    [...] plugin is a port of mouse gesture recognition with ActionScript & uses Walter Zorn’s VectorGraphics [...]

     
  30. Useful Flash Libaries and API’s on Tuesday, August 25, 2009 at 6:49 pm

    [...] – mouse/keyboard Mouse Gestures Senocular’s Key Class – Awesome lightweight class that recreates the as2 Key object. [...]

     
  31. Kune « GrgrDvrt on Friday, September 11, 2009 at 1:43 am

    [...] et les interaction se font avec un stylet et/ou à la main. Avec le stylet… on écrit. Grâce à foxy le mot est reconnu et s’affiche comme il faut à l’écran, il devient une [...]

     
  32. 25 lignes, Janvier « GrgrDvrt on Thursday, September 17, 2009 at 7:57 pm

    [...] la base je voulais stocker les tracés sur un minimum d’espace alors j’ai pensé au mouse gesture de bytearray où les caractères sont représentés par une suite de directions. Finalement j’ai pensé [...]

     
  33. My 20 Most used AS3 Libraries | n8o on Monday, November 16, 2009 at 7:43 pm

    [...] Mouse Gesture Recognition [...]

     
  34. Pfaderkennung - Flashforum on Friday, December 11, 2009 at 12:23 pm

    [...] [...]

     
  35. Voice Gesture-语音识别for FP10.1 | 熠●极光 on Wednesday, December 16, 2009 at 6:02 am

    [...] 你还记得 Mouse Gesture 吗? [...]

     
  36. Voice Gesture [ by Didier Brun] - ByteArray.org on Wednesday, December 16, 2009 at 9:10 pm

    [...] you remember Mouse Gesture [...]

     
  37. [...] 作者:http://www.bytearray.org/?p=91 ?View Code ACTIONSCRIPT3protected var mg:MouseGesture = null;   mg = new MouseGesture(this.stage); mg.addGesture("UP", "6"); mg.addGesture("DOWN", "2"); mg.addGesture("RIGHT", "0"); mg.addGesture("LEFT", "4"); mg.addGesture("CLOCK", "67012345"); mg.addGesture("ANTICLOCK", "65432107");   mg.addEventListener(GestureEvent.GESTURE_MATCH,matchHandler);   // 不同鼠标手势执行不同的处理 protected function matchHandler(event:GestureEvent):void { TweenMax.killAllTweens();   switch (event.datas) { case "UP": TweenMax.to(mesh, 1, {rotationX: mesh.rotationX – 360}); break; case "DOWN": TweenMax.to(mesh, 1, {rotationX: mesh.rotationX + 360}); break; case "LEFT": TweenMax.to(mesh, 1, {rotationY: mesh.rotationY + 360}); break; case "RIGHT": TweenMax.to(mesh, 1, {rotationY: mesh.rotationY – 360}); break; case "CLOCK": TweenMax.to(mesh, 1, {rotationZ: mesh.rotationZ + 360}); break; case "ANTICLOCK": TweenMax.to(mesh, 1, {rotationZ: mesh.rotationZ – 360}); break; } } [...]

     
  38. Stifteingabe -> Event - Flashforum on Friday, February 19, 2010 at 10:06 pm

    [...] mal hier Mouse Gesture Recognition <font size='1'>[ by Didier Brun aka Foxy ]</font> – ByteArray…. hoffe das [...]

     
  39. [...] into it, there is already a library in AS3 that’s really simple to use it and it works great. The Mouse Gesture Recognition lib for AS3, created by Didier Brun, implements all of the functionality that we need to detect mouse gestures; [...]

     
  40. [...] into it, there is already a library in AS3 that’s really simple to use it and it works great. The Mouse Gesture Recognition lib for AS3, created by Didier Brun, implements all of the functionality that we need to detect mouse gestures; [...]

     
  41. [...] At ByteArray.org [...]

     
  42. agitcraft » Gesture Recognition on Friday, March 12, 2010 at 1:03 am

    [...] second package I looked into was posted in a short article at ByteArray.org by Didier Brun. I caught this post when it first came out (almost three years ago) and was very impressed with the [...]

     
  43. Mouse Gestures in Flash « codewala on Sunday, January 30, 2011 at 7:17 am

    [...] Other mouse gestures framework found http://www.bytearray.org/?p=91 [...]

     
  44. Flash-Factor » Blog Archive » Changing page with the mouse on Sunday, March 27, 2011 at 11:12 pm

    [...] Flash Player 10.1 has some but I wanted to find something quick and easy. I found such an API from ByteArray.org. It’s a very easy and nice API, just enough for [...]

     
  45. [...] http://www.bytearray.org/?p=91 [...]

     
  46. Gesture Recognizer’s Algorithm Details | Frog in Well on Monday, June 13, 2011 at 11:40 am

    [...] Besides this project, I also found some interesting project, which ignites my passion in these work. http://www.bytearray.org/?p=91 [...]

     
  47. 常用AS3类库收藏帖 | ActionScript3 Park on Friday, September 16, 2011 at 11:00 am

    [...] Mouse Gesture Recognition [...]

     
  48. Avec Action Script 3 tout devient possible « on Monday, October 17, 2011 at 3:46 pm

    [...] Lien: http://www.bytearray.org/?p=91 [...]

     
  49. Anonymous on Saturday, February 25, 2012 at 5:11 pm

    [...] [...]