Add new option to set number of degrees tilt needed for full range. W…
…ill give get back some of the functionality that was lost when restricting gyro to same range as desktop by using wider range of tilt, and by setting a larger range of object motion.
Also fixes the options handling in enable() so they aren't set every update, but only once.
Loading branch information...
May 2, 2013
`activityTarget`— Object: (optional) sets a specific DOM element over which Plax will track the mouse.
+`gyroRange`— Integer / Float: (optional) sets the degrees of tilt needed to reach full movement in one direction, from the center position. For the full range, two times the degrees tilt is needed. Default value: 30.