>>>
>>>With that correction the heading does seems to remain fairly constant regardless of beta and gamma values. But changes on the x axis still result in the skip :-{
>>>H
>>
>>
>>Can you post the values of( alpha, beta, gamma , absolute) before and those that produce a 'skip' ?
>>
>>Update : and your current code
>
>Also just noticed:
>
>"The compass heading calculation above can be represented in JavaScript as follows to return the correct compass heading when the provided parameters are defined, not null and represent
absolute values" here :
http://w3c.github.io/deviceorientation/spec-source-orientation.html.
>
>Maybe I should be converting to absolute before calling the function ?
Nope. Results become even more confused :-{