Python anyone? 
Posted: 31 March 2008 04:55 PM   [ Ignore ]
Sr. Member
Avatar
RankRankRank
Total Posts:  53
Joined  2007-11-29

Anyone else in love with python?

Anyways, I have started working on a gui/framework for multi touch applications written in python.  I am currently using pyglet a toolkit for pyopengl.  Its really easy and super fast to do hardware accelerated drawing. 

Currently I only have a widget hierarchy and basic stuff written and I dont have the MY event system integrated yet (shouldn’t be too hard since touchlib can provide the events over network).  But if others are interested I will share my code. 

It’s not that i dont like actionscript or flash, but you have a lot more drawing options with openGL and python is a lot faster to write than C/C++. (Although I might port the core of the project to C or C++ once its more advanced and then provide a wrapper for python for some extra speed). 

Also python has tons of libraries for other programming tasks such as system programming and networking(dont know how much actionscript/flash lest you do in that regard)

 Signature 

http://cs.uiowa.edu/~tehansen

Profile
 
 
Posted: 31 March 2008 08:15 PM   [ Ignore ]   [ # 1 ]
New Member
Rank
Total Posts:  11
Joined  2007-03-10

I have used twisted to get OSC/TUIO messages into Flash using PyAMF (http://www.pyamf.org).  I have a short, blurry video showing it working using the TUIO simulator at :

Anyway, I like Python and if you need a bridge between OSC/TUIO and Flash in Python, using PyAMF is pretty straightforward.  I’ve kinda stopped pursuing Python though and have turned toward Processing, using JMyron because JMyron (http://webcamxtra.sourceforge.net/) seems fascinating and simple.  Processing has libraries for OSC that are really simple to use, I mean seriously simple.

Profile
 
 
Posted: 14 June 2008 03:02 PM   [ Ignore ]   [ # 2 ]
Jr. Member
RankRank
Total Posts:  35
Joined  2008-03-11

have you seen LibAVG?  http://www.libavg.de

Profile
 
 
Posted: 18 June 2008 12:34 PM   [ Ignore ]   [ # 3 ]
Sr. Member
Avatar
RankRankRank
Total Posts:  77
Joined  2008-03-02

I have implemented pyglet event system over tuio protocol .. with help of pyliblo

Profile
 
 
Posted: 19 June 2008 04:57 PM   [ Ignore ]   [ # 4 ]
Elite
Avatar
RankRankRankRank
Total Posts:  224
Joined  2008-04-22

I would love to see your code.  jet-plane and I(Actually he has done all the work so far, im still building my displaysmile have been working on TouchPy.  You can find it on Google Code.  Its very easy to interface to client Python apps, and allows you to really quickly write useful apps.  I have started an App Launcher that I will be uploading.  It uses kinetic scrolling, and will be a nice addition to any table once its done.

TouchPy, at this moment, has only been tested on Linux, and would probably be difficult to port, due to its X dependencies.

 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 June 2008 10:01 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  431
Joined  2006-11-09

Really looking forward to experimenting more with python+MT… it really is great option for rapid prototyping smile

Related Python Links:

http://nuigroup.com/forums/viewthread/850/

TUIO:
http://code.google.com/p/pytuio/
http://code.google.com/p/touchpy/
http://code.google.com/p/2dcur/

Visual Libraries (OSX):
http://nodebox.net/
http://drawbot.com/

 Signature 

~

Profile
 
 
Posted: 11 July 2008 01:35 PM   [ Ignore ]   [ # 6 ]
Jr. Member
RankRank
Total Posts:  46
Joined  2007-03-04

for the 2dcur project, i just uploaded a photo app… maybe not *quite* there, but 90% works… feedback greatly appreciated, but also note this area is getting a good amount of attention lately, and i can’t wait to see other people’s python hackery!

skreen.py source

Profile
 
 
Posted: 11 July 2008 09:30 PM   [ Ignore ]   [ # 7 ]
Elite
Avatar
RankRankRankRank
Total Posts:  224
Joined  2008-04-22

You should check out Python-Lux(and help us code itrasberry).  Stop by at #python-lux on IRC.freenode.net, we would really appreciate it.  We are writing a whole graphics front end for this kind of stuff, it will make coding easier for all of us.  Oh, also, its in 100% pure Python.

Cheers!

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