Few coding suggestions: - Don't mix spaces and tabs; - Don't write line (comments) too much long; - Don't post too much code here; - For this program maybe Pygame is more fit (to show the images in real time) instead of PIL; - Maybe Psyco can help speed up this program; - Maybe ShedSkin will support part of the cimg library, such kind of programs is fit for it :-)
Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list