a motion activated security camera that runs in the browser (Chrome/MacBook Pro required, though it also works in BlackBerry 10, and maybe Chrome on Android)
Uses deviceMotionEvents and deviceOrientationEvents plus getUserMedia to capture video from a device video camera, then grab a snapshot fromthe video stream when motion is detected.
This is offered purely as a proof of concept, so don't rely on it to save your home or office from theft! Please!
Read a detailed article on how it works at Web Directions See it in action in Chrome or on Blackberry 10