Crates.io | guessture |
lib.rs | guessture |
version | 0.1.0 |
source | src |
created_at | 2024-02-23 01:44:19.771376 |
updated_at | 2024-02-23 01:44:19.771376 |
description | Implementation of the `$1 unistroke recognizer` algorithm in Rust |
homepage | |
repository | https://github.com/jdm/bevy_guessture |
max_upload_size | |
id | 1149963 |
size | 13,461 |
This library is a Rust implementation of the $1 Unistroke Recognizer algorithm. Given a set of template gestures, this library can compare 2d paths of points to those templates and report how closely they match.
This library's API surface is small—it exposes types for recording path data (Path2D
), storing
normalized gesture templates (Template
), and matching a path aginst templates (find_matching_template
/find_matching_template_with_defaults
). Integration with user input toolkits is left to
other libraries as an exercise for the reader.