Screenshot

Releases

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

September 2, 2010 7:32am - slmgc - nickname: (slmgc)

It was my first python program ever (C programmer here), but I've tried to make the code as readable as possible. The passive state is the callibration mode, when there are no algorithmic calculations, and the active state is the opposite, in this mode beggins to work the program's bouncing and interface code. As for the full-screen mode... maybe I should default the program to the windowed mode or just make an on-screen instruction?

Very neat! This is the first time that I looked at the code to work with webcams with Pygame and your example shows how simple it is. It took me awhile to memorize the instructions because when the example goes full-screen, I couldn't switch back. So I wound up just tinkering until I got it, but was surprised at how well it kept up. In the code, I didn't understand the difference between the active & passive state, though.