Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compass heading from deviceorientation
Message
From
24/04/2014 07:27:03
 
 
To
24/04/2014 07:22:24
General information
Forum:
HTML5
Category:
Browser issues
Miscellaneous
Thread ID:
01598938
Message ID:
01598945
Views:
30
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform