6 ms·
If you draw brackets from bottom up they are recorded inverted. For example, } drawn from bottom up is "recognized" as {.
by dragontamer 11y ago
If you draw brackets from bottom up they are recorded inverted.
For example, } drawn from bottom up is "recognized" as {.
- regularfry 11y agoThat'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 11y agoWhen 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.