Some of you may have been to FOSDEM this year, where Loic did a great talk on pigment, or so I have been told. I wasn't there, but, to continue what Kaleo started, I have done these two screencasts.

Interactive Animation

This demonstration shows the ability of pigment to load images and place them in a 3D space. It shows a bit of what the animation system can do as well. This is done in about 150 lines of python code. Click on the image to see the screencast You can find the source code for that in Kaleo's bzr branch: It's the same program ( than the last screencast in Kaleo's blog post.


This one shows the ability of pigment to integrate with a graphical toolkit (here Gtk+). It also shows various effects that pigment can apply on images or videos (a 1080p HD video in this case) without any CPU cost, everything being done in the GPU. This is done in about 350 lines of python code, including 135 lines to construct the Gtk+ interface. Sorry, I didn't have a decent webcam at hand, so I couldn't reproduce what Loic did at his talk. Hooray, fisheye effect on a fish! Click on the image to see the screencast This is done with a branch of pigment not merged with trunk yet, you can find it on a branch of our subversion repository: The example screencasted here is, in pigment-python/examples on the branch

No comment

Post a comment

All comments are held for moderation; basic HTML formatting accepted.

Name: (required)
E-mail: (required, not published)
Website: (optional)


10 March 2008