Multi-Touch and Python
Posted: 10 June 2008 06:48 PM   [ Ignore ]
New Member
Rank
Total Posts:  63
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 ]
Administrator
Avatar
RankRankRank
Total Posts:  392
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.

 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
 
 
Posted: 19 September 2008 01:38 AM   [ Ignore ]   [ # 2 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

You can also use “real” language with MultiTouchVista. IronPython is a .NET implementation of Python. Actualy you can use over 50 programming languages to develop with MultiTouchVista wink

Profile
 
 
Posted: 19 September 2008 05:46 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRank
Total Posts:  392
Joined  2008-04-22

What if we aren’t using Vista?

 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
 
 
Posted: 20 September 2008 02:11 AM   [ Ignore ]   [ # 4 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

If you don’t use Vista or XP then you can use other Multitouch framework. But in the first post was not mentioned what OS it should be. I just wanted to say that it is possible to use Python to develop .NET applications.

Profile
 
 
Posted: 20 September 2008 09:43 AM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRank
Total Posts:  392
Joined  2008-04-22

Ok.  Just out of curiosity, what kind of stuff does MultiTouchVista provide?

 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
 
 
Posted: 20 September 2008 10:20 AM   [ Ignore ]   [ # 6 ]
Sr. Member
RankRankRank
Total Posts:  286
Joined  2007-07-14

-integration in WPF
-tacker/device independant (through Input Provider addins)
-TouchablePanel (uses physical engine)
-runs as windows service
-mouse emulation
-rotate/scale/move standard windows (vista only).
-simple and fast learning (see video tutorial on codeplex).

Profile