New PyGTK Tutorials

Jim Gettys jg at
Thu Jan 17 20:12:47 EST 2008

On Thu, 2008-01-17 at 20:15 -0500, Chris Ball wrote:
> Hi Wade,
>    > I wrote one today as well, after porting 3D Pong from OLPCGames to
>    > pure PyGTK + cairo (it's a lot slower unfortunately, either their
>    > line drawing or their text drawing needs serious optimization).  I
>    > had to spend a bunch of time researching how to get smooth
>    > animation out of PyGTK, so here are my results.
> Thanks for doing all of this.
> If you use Pippy's pygame support (see the bundled pygame examples in
> Pippy) you should get a 20fps framerate limiter as well as pause-on-idle
> support for free.  Pippy can create activity bundles -- if you'd be
> interested in trying to create 3DPong inside Pippy, I'd like to hear
> about whether it works well for you, and whether there are any changes
> we should make to the pygame wrapper.

I suggest 25FPS to avoid unnecessary jutter (the screen goes 50hz, with
an option to drop it down to 25 hz someday when we do more work in
                                   - Jim

> Thanks!
> - Chris.
Jim Gettys
One Laptop Per Child

More information about the Devel mailing list