Python Clutter examples

I have long been wanting to try out Clutter, but I have been unable to find some really nice Python examples – everything seems to be in C.

So I decided to try to convert the examples given at the Clutter Foo presentation at GUADEC 2007 to Python. The C code I have based my Python examples around can be found here.

An invaluable resource while figuring stuff out has been the Clutter Reference Manual.

The examples have only been tested with pyclutter 0.6.0.

To get them to run properly on my machine with an Intel graphics card I had to

export CLUTTER_VBLANK=none

before running the programs.

Example code

actor-demo-1
actor-demo-2
behave-demo-1
effect-demo-1
timeline-demo-1

The examples all require an image – feel free to use this one:

Update: I just discovered the PyClutter Reference Manual. Helps a lot.

One Comment

  1. mika says:

    Wow, really good job… Thx a lot.

Leave a Reply

*