Lua-gestures: effortless recognition of trained single-stroke gestures
Posted: Wed May 05, 2021 9:22 pm
Hi there. I published this project today:
https://github.com/jmiskovic/lua-gestures
It is a library for training and recognizing single-stroke gestures, based on very efficient "$1 Unistroke Recognizer" algorithm. The library comes with basic set of gestures, and you can dynamically add your own ones.
This could come handy for those games where you conjure magic by drawing runes, or for mobile-based text entry, or for quick mouse/touch shortcuts inside any design tool.
I'm not author of original algorithm or of Lua port. I merely fixed some bugs, adapted the API to fit better with Love and made the simple demo. I hope somebody finds a use for it.
https://github.com/jmiskovic/lua-gestures
It is a library for training and recognizing single-stroke gestures, based on very efficient "$1 Unistroke Recognizer" algorithm. The library comes with basic set of gestures, and you can dynamically add your own ones.
This could come handy for those games where you conjure magic by drawing runes, or for mobile-based text entry, or for quick mouse/touch shortcuts inside any design tool.
I'm not author of original algorithm or of Lua port. I merely fixed some bugs, adapted the API to fit better with Love and made the simple demo. I hope somebody finds a use for it.