Displaying 9 DoF orientation in a browser using webserial: A New video by Adafruit Industries
Displaying 9 DoF orientation in a browser using webserial
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! https://ift.tt/2uZxZxt
Adafruit on Instagram: https://ift.tt/2hczccU
Subscribe to Adafruit on YouTube: https://ift.tt/WjMaF9
New tutorials on the Adafruit Learning System: https://ift.tt/Pax0QO
—————————————–