Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compass heading from deviceorientation
Message
From
24/04/2014 07:35:27
 
 
General information
Forum:
HTML5
Category:
Browser issues
Miscellaneous
Thread ID:
01598938
Message ID:
01598949
Views:
29
>>Maybe you should update the screen in steps to make it smooth
>>
>>
>>for( x = oldPosition; x <= newPosition; x += 0.5 ) // degrees  ( or less than 0.5)
>>   updateScreen();
>>
>
>Hmm. The events come in fast enough - in fact, as in previous reply, I'm taking the opposite approach to *reduce* the number of screen updates (which draws an arrow on HTML5 Canvas)


The Nexus has a gyroscope ? Try this http://www.sundh.com/blog/2011/09/stabalize-compass-of-iphone-with-gyroscope/
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform