blurymind / 1dollar_gesture_recogniser Goto Github PK
View Code? Open in Web Editor NEWA godot engine addon implementation of the 1$ gesture recognition algorithm
A godot engine addon implementation of the 1$ gesture recognition algorithm
Hi, there is a bug in RotateBy (+ there again) function.
Currently, it is
var qx = (points[i].x - c.x) * mcos - (points[i].x - c.x) * msin + c.x
var qy = (points[i].x - c.x) * msin + (points[i].x - c.x) * mcos + c.x
but it should be
var qx = (points[i].x - c.x) * mcos - (points[i].y - c.y) * msin + c.x
var qy = (points[i].x - c.x) * msin + (points[i].y - c.y) * mcos + c.y
(.y
instead of .x
in second half)
implementation for example: https://depts.washington.edu/acelab/proj/dollar/dollar.js
Maybe thats the reason why RotateBy is commented out when building Unistroke? (or you need this to find difference between vertical and horizontal line?)
Sorry for the delay, just checking the assetlib moderation queue now (need to program email notifications when new edits are done :)).
The assetlib unzips the contents of your repo directly in the user's project, so you should provide the addons/<youraddon>/
folder directly in this git repo, so that it's unzipped in the right location out of the box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.