Using sensor info from smart devices

Hi there,

I was bored so I thought I would try to wrap up a little HTML/JS to catch the sensor info from the browsing device.

Wold be nice to use it for controlling something at the other end.!

The more I look the more I find incompatibilities between browsers.!

Anyway, just thought I would share. Open for comments or improvement.



  
    
    
        
    Detecting device orientation
  
  
    
      Your browser does not support the HTML5 canvas tag.
    
    
    
     
     
   
   

    
Smoothed
         

Hiddenvision: The more I look the more I find incompatibilities between browsers.!

Welcome to the wonderful world of web standards! No idea how many such standards are in use...

What does this have to do with Arduinos?

Yep, gone are the days of basic html code.!

Relevant to Arduinos.!?

Some may find it handy. I was thinking of making a little Wifi RC car and wondered how much control using the accelerometer on the phone would give.