Package Exports
- motion-on-device
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (motion-on-device) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Download & Installation
$ npm i motion-on-device
Code Demo
import MOD from 'mod';
MOD.init();
With parameters
```html MOD.init({ // rotationRate_dampening :0.01, // rotationRate_smoothing :0.5, // // rotation_dampening :0.0005, // rotation_smoothing :0.2, // // acceleration_sensitivity :0.1, // acceleration_dampening :1, // acceleration_smoothing :0.3, }) ```Authors or Acknowledgments
- James Edward Burdge
License
This project is licensed under the MIT License