First version (brainflakes)

Using brainflake's python motion script as a base
(originally here: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=43&t=45235 )