Week 13

Applications and Interfaces

Continuing my work from last week on my final project, I want to use the positions sent to the web page to draw. the HTML canvas tag seemed like a good way to get started on this. I created a canvas element and when the site receives a bluetooth coordinate from the device, it draws a point on the canvas there. I chose an arbitrary scale to convert distance in real life to pixels on the screen.

I also added a color selector so you can change the pen color.

first iteration

The imu is still not working as well as I want it, so this drawing is kinda all over the place but having a drawing software will be useful for my imu experimentation.

second iteration. didn't change much of the functionality, just made it look better

You can visit my application here

Note that you can't actually draw without my device