Displaying 9 DoF orientation in a browser using webserial with @adafruit CLUE #threejs #JavaScript3Dlibrary
The CLUE board has a 9 DoF motion sensor (accel/gyro/mag) that can be used to calculate orientation (video). 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