Multi-Touch and Python
Posted: 10 June 2008 06:48 PM   [ Ignore ]
Rank
Joined  2007-03-04
Total Posts:  63
New Member

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 ]
Avatar
RankRankRankRank
Joined  2008-04-22
Total Posts:  525
Moderator

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 ]
RankRankRankRank
Joined  2007-07-14
Total Posts:  763
Elite

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

 Signature 

Do you need Multitouch framework for WPF that works with any device? Visit http://multitouchvista.codeplex.com/.  It also includes multitouch driver for Windows 7.

Profile
 
 
Posted: 19 September 2008 05:46 PM   [ Ignore ]   [ # 3 ]
Avatar
RankRankRankRank
Joined  2008-04-22
Total Posts:  525
Moderator

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 ]
RankRankRankRank
Joined  2007-07-14
Total Posts:  763
Elite

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.

 Signature 

Do you need Multitouch framework for WPF that works with any device? Visit http://multitouchvista.codeplex.com/.  It also includes multitouch driver for Windows 7.

Profile
 
 
Posted: 20 September 2008 09:43 AM   [ Ignore ]   [ # 5 ]
Avatar
RankRankRankRank
Joined  2008-04-22
Total Posts:  525
Moderator

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 ]
RankRankRankRank
Joined  2007-07-14
Total Posts:  763
Elite

-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).

 Signature 

Do you need Multitouch framework for WPF that works with any device? Visit http://multitouchvista.codeplex.com/.  It also includes multitouch driver for Windows 7.

Profile