Home Live Mathematics and STEM on the Web ← Javascript STEM

 
 


 
 



1. Could I use an accelerometer to control a screen object?

Could I use the accelerometer as a mouse to control movement of a point?

Define a point, A, and use accelerometer sliders to move it around the screen.

 

 

2. Could I use a magnetometer as a Compass?

Could I use the magnetometer to find bearings?

Define a point, A, and use magnetometer sliders to move it around the origin - see if you can match the compass vector v.

 

 
  
  
 

 

Home Live Mathematics and STEM on the Web My First Web Page: Introduction ←Javascript STEM