nudged icon indicating copy to clipboard operation
nudged copied to clipboard

Estimate scale, rotation, and translation between two sets of 2D points. For multitouch, calibration, pattern recognition, and more.

Results 4 nudged issues
Sort by recently updated
recently updated
newest added

I'm using the TSR estimator for multitouch gestures that can be arbitrary number of points (something like `estimate('tsr', touchesBefore.map(clientPosition), touchesAfter.map(clientPosition))`). When doing this with some single-touch point sets, I found...

Simple standalone type declarations. Fixes #29

The lib could be more friendly for TypeScript users. @lsps9150414 Could you share a rough insight on how should it be done? Is it enough to have one `index.d.ts` file...

Let the domain be [[-1,0],[1,0]] and the range [[0,-1],[0,1]]. The in other words the plane rotates 90 degrees. Let us apply TS estimator. The estimate becomes { a: 0, b:...