North (formerly Thalmic Labs), the creator of the Myo armband, was acquired by Google in June 2020. Myo sales ended in October 2018 and Myo software, hardware and SDKs are no longer available or supported. Learn more.
A plugin for Myo.js that provides rotational vectors.
See it in action here (requires a myo!)
Whenever the Myo receives an orientation
event, it will now emit a vector
event, with a data object that was a x
, y
, and theta
, all ranging from -1 to 1.
Note: These numbers are very dependant on the Myo being orientated properly. Make sure to use myo.zeroOrientation()
often to correct for any drift.
Myo.on('vector', function(vector){
console.log('x', vector.x);
console.log('y', vector.y);
console.log('theta', vector.theta);
});
This can be used for mouse control on webpages, or zone detection to reduce false positives for poses. eg. Only accept poses while the user has their arm down to their side (helps with hand talkers).
Check out the demo for an example of how to use it.