I'm looking for a program to automatically snap pics from my webcam

view story

http://www.linuxquestions.org – Hi all, I'm working on building an NES with an old netbook inside to power it. I'm planning to run Puppy Arcade 10 on it. However, when I started thinking about ways to utilize all of the hardware available to me, I came up with the need for a program. After some searching I couldn't find it, so I figured I'd see if any of you can point me to something, or if it doesn't take too long and you don't mind, write a program! :p Oh, and before I begin, I've had plenty of exposure to Linux (tried out several distros, handled packages, made a custom live USB, dual booted with Windows, etc.) so I can h (HowTos)