I’ve set up a Google Code project for my Python / TUIO 2D Cursor messages layer of classes. This should get python people started in designing event chains around finger touches in Python. (for fudicials check out pytuio)
http://code.google.com/p/2dcur/
So fair I’ve made several things, a photo program, a drawing program, and a sort of a theremin program with these, and a simple DI setup. Those things are rather buggy, but will include them soon.
It essentially does the following things:
1. Receives TUIO messages, filtering out duplicates - (touchList)
2. Calculates stats on finger down, finger update, and finger remove (touchStats)
3. Calculates differences on points since the last update (touchStats)
4. Maintains a state itself as a list of current fingers on the screen (touchList)
5. Hooks for callbacks into your app (touchStats)
6. Some basic routines for converting the percentages to window cooridinates (orienter)
Will be working on making this faster, and adding a generic object-binding method, which is a common theme to the aforementioned basic apps.
Developers, hobby projects, questions, suggestions, flames, etc greatly appreciated.
http://code.google.com/p/2dcur/
Thank you!
