1. A computer-implemented method comprising: sensing motion of a device; determining a normalized motion by normalizing a shape of the sensed motion of the device, wherein the normalizing comprises scaling the sensed motion in a plurality of spatial dimensions; recognizing a gesture corresponding to the normalized motion of the device; determining functionality of the device based on the recognized gesture and a ratio of a size of the shape of the sensed motion in a first of the plurality of spatial dimensions to a size of the shape of the sensed motion in a second of the plurality of spatial dimensions; and invoking the determined functionality.