swell.sh
lua-gestures
swell.sh | lua-gestures | |
---|---|---|
1 | 1 | |
120 | 16 | |
- | - | |
0.0 | 0.0 | |
9 months ago | almost 3 years ago | |
JavaScript | Lua | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
swell.sh
lua-gestures
-
$1 Unistroke Recognizer
I played around with it last few days and it is quite capable thing for its size and simplicity.
It is actually cheap enough to run per-frame in real-time, which is a fun way to see it in action and to check how soon it arrives at correct answer.
Other commenters focused on 'issue' of gestures being directional. This is a great feature as you can fit more gestures into a set with correct recognition. For example you can have space and backspace as lines in different directions. It is also trivial to just add the reversed variants if needed.
I had bigger problem with the algorithm being rotation-invariant. This means that '7' will easily be recognized as 'L'. Thankfully this is easy to fix.
The recognizer can quite reliably recognize whole alphabet. I used Palm Graffiti designs as reference for training. One training sample was always enough.
I checked out other multi-stroke recognizers on that page. They don't seem any more reliable, but all add more complexity. You have to detect when multi-stroke gesture is over which is not trivial. This uni-stroke version works wonderfully because gesture is done as soon as mouse button is released.
Thank you for this submission! As say in the published article, this is often needed functionality and most of us think it's too complex to be worth it. Turns out the algorithm is quite simple and reliable.
The Lua fork I worked on is available here: https://github.com/jmiskovic/lua-gestures
What are some alternatives?
docker-exec-web-console - A web UI to docker exec from the browser
kivy - Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
enquirer - Stylish, intuitive and user-friendly prompts, for Node.js. Used by eslint, webpack, yarn, pm2, pnpm, RedwoodJS, FactorJS, salesforce, Cypress, Google Lighthouse, Generate, tencent cloudbase, lint-staged, gluegun, hygen, hardhat, AWS Amplify, GitHub Actions Toolkit, @airbnb/nimbus, and many others! Please follow Enquirer's author: https://github.com/jonschlinkert
dollar-q - JavaScript Implementation & Demo UI of $Q Super-Quick Recognizer
terminalizer - 🦄 Record your terminal and generate animated gif images or share a web player
dollar-touch - Automatically exported from code.google.com/p/dollar-touch
emmet-language-server - A language server for emmet.io