simpletouch

A library by Till Nagel to create simple multitouch sketches in Processing. Last update, 09/20/2016.

Supports tapping, dragging, and pinching to select, move, rotate and scale visual items. This library handles TUIO cursors to assist manipulating graphical objects using simple multitouch gestures. It features direct transformations, i.e. each finger position stays at its respective object position while transforming.

A visual item is drawn in its own canvas to enable independent inner and outer transformations. Methods are provided for converting between the local coordinate system and the Processing canvas. This library is intended to work as OpenGL sketches, and uses GLGraphics for offscreen buffer renderings.

Download

Download simpletouch version 0.2.2 in .zip format.

Installation

Unzip and put the extracted simpletouch folder into the libraries folder of your processing sketches. Reference and examples are included in the simpletouch folder.

You need to install a 3rd party library, before you can use SimpleTouch and run the examples. TUIO, a library for tangible multitouch surfaces.

Keywords multitouch, interaction, gestures, finger, transformation, dragging, tapping, rotating

Reference. Have a look at the JavaDoc reference. A copy of the reference is included in the .zip as well.

Source. The source code of simpletouch is available at https://github.com/tillnagel/simpletouch/, and its repository can be browsed here.

Examples

Find a list of examples in the current distribution of simpletouch, or have a look at them by following the links below. You can find more examples at https://github.com/tillnagel/simpletouch/.

Tested

Platform osx,windows
Processing 3.0
Dependencies TUIO