[pygtk] Canvas for (complicated) animations?

Michael R. Head burner at suppressingfire.org
Thu Jul 12 07:34:15 WST 2007


Hi, I've been playing with a couple canvases to implement a fancy
animated interface for a full screen app. I've tried gnomecanvas and
goocanvas. I've managed to code some animated scenes (based on affine
transforms of various objects in the interface) using these two widget,
but the performance isn't good enough -- I'd like it to be smooth (at
least 15-20 frames per second) at full screen (1024x768 or higher).

It could be that I'm just doing the animation in a completely daft way,
or it could be that these canvases aren't up to doing what I want to do.

I have the code in a subversion on my home server:
http://cvs.suppressingfire.org/cgi-bin/viewvc.cgi/trunk/videoplayer/?root=Subversion

Specifically, USB_TV.py and VideoPlayer.py don't perform well enough on
my Thinkpad T30 running Ubuntu 7.04 (it's got a Radeon 7500 Mobility and
uses the opensource ati driver).

Any thoughts? Should I consider using pygame or pygtkglext instead? I
personally like the canvas scene model...

mike

-- 
Michael R. Head <burner at suppressingfire.org>
http://www.suppressingfire.org/~burner/
http://suppressingfire.livejournal.com
http://picasaweb.google.com/demiri.head.wedding
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3189 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20070711/9859f596/smime.bin


More information about the pygtk mailing list