A method is described for determining a description of motion of a moving
mobile camera to determine a user input to an application. The method may
involve capturing a series of images from a moving mobile camera and
comparing stationary features present in the series of images. Optical
flow analysis may be performed on the series of images to determine a
description of motion of the moving mobile camera. Based on the
determined motion, a user input to an application may be determined and
the application may respond to the user input, for example, by updating a
user interface of the application.