Multi-Touch and Python
Posted: 10 June 2008 06:48 PM   [ Ignore ]
Jr. Member
RankRank
Total Posts:  46
Joined  2007-03-04

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!

Profile
 
 
Posted: 11 July 2008 09:34 AM   [ Ignore ]   [ # 1 ]
Elite
Avatar
RankRankRankRank
Total Posts:  224
Joined  2008-04-22

We are writing a multi-touch graphics framework in Python called Lux(sound familiarrasberry).  We should be starting soon.  Come by at #python-lux today for more info, nuiman will be releasing the Object Spec.  If you want to help see me there, or PM me.

Oh, and thanks for picking a real language, we need more people like you

Alex

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile