Skip to content

finscn/ReDollar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReDollar

A gesture recognizer in javascript .


This is a refactoring version of dollar.js ( http://depts.washington.edu/aimgroup/proj/dollar/dollar.js ), so named "Re"+"dollar".

Of course , ReDollar is more simple and more powerful.


Simple Example

var dollarOne = new RD.DollarOne();

//  name: string, it's gesture's name
//  gesturePoints : 2D array, it's gesture's key-points
//      [ [x1,y1], [x2,y2], [x3,y3], ... [xN,yN] ]
dollarOne.addGesture(name, gesturePoints);


//  userPoints : 2D array, like "gesturePoints".
//       It's key-point of user's stroke-gesture
//  matched is mathed gesture or null (no matched)
var matched = dollarOne.recognize(userPoints);


Reference

http://depts.washington.edu/acelab/proj/dollar/index.html

About

a gesture recognizer in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published