Smartphone accelerometer data #2479
Replies: 2 comments
-
This would be an ideal extension. The implementation would be pretty similar to the mouse tracking extension, which just records data based on mouse events. Happy to add this to a future todo list, but it would be a while before I can get to it. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I just made a pull request to the jspsych-contrib repo with the implementation of a device-motion extension. As @jodeleeuw suggested, this was based on the mouse tracking extension. You can test it here I wonder if my implementation could be added to the main repo and, if yes, how far away my code is from being accepted there. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi,
Accessing accelerometer data via from our phones seems to be possible with javascript:
I'm wondering whether someone has worked or is working on a plug in that can be used to collect this kind of data, assuming that it is possible to do so reliably. I'm especially interested in collecting 'movement to music' data, i.e. continuous movement data while playing a musical stimulus. Unfortunately, I don't speak much javascript.
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions