The CLUE board has a 9 DoF motion sensor (accel/gyro/mag) that can be used to calculate orientation. It's hard to visualize using just text. Normally folks would use a Processing sketch to display the 3D model but now that webserial is available in the browser, it's much easier to use that! This website uses webserial to get the Euler angles & three.js to display a bunny that moves around. We'll update it to use quaternions next :)

webserial #threejs #JavaScript3Dlibrary

Visit the Adafruit shop online - http://www.adafruit.com


LIVE CHAT IS HERE! http://adafru.it/discord

Adafruit on Instagram: https://www.instagram.com/adafruit

Subscribe to Adafruit on YouTube: http://adafru.it/subscribe

New tutorials on the Adafruit Learning System: http://learn.adafruit.com/