Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
dragontamer
on Sept 20, 2015
|
parent
|
context
|
favorite
| on:
$1 Unistroke Recognizer
If you draw brackets from bottom up they are recorded inverted.
For example, } drawn from bottom up is "recognized" as {.
regularfry
on Sept 20, 2015
[–]
That's because it's rotationally insensitive, which is a rather interesting property. I'm not sure how useful it is, but it certainly surprised me.
mmusson
on Sept 20, 2015
|
parent
[–]
When I used this code for a simple application, I made a small change to the recognized to limit the rotational invariance so that a gesture that was rotated more than a certain angle threshold would not match.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
For example, } drawn from bottom up is "recognized" as {.