1.0.0 • Published 1 year ago

@jspsych-contrib/extension-device-motion v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

device-motion extension

Overview

Extension enables tracking of device motion. This will only work on you mobile phones. If run in a browser, acceleration data along x, y and z dimentions will be null.

Loading

In browser

<script src="https://unpkg.com/@jspsych-contrib/extension-device-motion@1.0.0">

Via NPM

npm install @jspsych-contrib/extension-device-motion
import jsPsychExtensionDeviceMotion from '@jspsych-contrib/extension-device-motion';

Compatibility

jsPsych v7.0.

Documentation

See documentation

Author / Citation

Created by Pedro Neto