FreeformGestureDetector (2018) is an Android library that converts multi-touch gestures into incremental Matrix transformations.
Project detailsGet the source- released
- 2018
- role
- creator
- platform
- Android
- tech
- Java
It processes any kind of touch gesture, from single-finger dragging to multitouch skew and scale, and spits out the corresponding Matrix transforms needed to render that manipulation.
This library arose from the development of Hypertangram. I wanted free manipulation of puzzle pieces because I wanted intuitive game controls.
Credits to Matrix.setPolyToPoly
for making this easy.
It’s open-source and available on GitHub.