About | Download | Documentation | Email the Creator

About Pyganim

Pyganim (pronounced like "pig" and "animation") is a Python module for Pygame that makes it easy to add sprite animations to your Pygame game programs. Pyganim works with Python 2 and Python 3.

The mascot of Pyganim is a red vitruvian pig.

Pyganim was written by Al Sweigart and released under a "Simplified BSD" license. Contact Al with any questions/bug reports: [email protected]


Download pyganim.py

Download example programs

Pyganim requires that Python and Pygame are installed.


All of the classes and methods used in Pyganim are explained in the Read The Docs documentation site.

Completely New to Programming?

If you don't know how to program, it's a fun and useful skill to learn. The creator of Pyganim is also the author of a free programming book aimed at complete beginners: Invent Your Own Computer Games with Python.

The Pyganim Example Programs

You can see examples of programs that use the Pyganim module here:

Download example programs

Here are some (not animated) screenshots of the example programs: