tilt.js
tilt.js copied to clipboard
devicemotion
@WhoMeNope is your branch working?
@smarquez1 just checked, yep it works.
This PR works, but it seems to be way too sensitive. Any suggestions on how to tame it down a bit? I'm thinking we'd want to process fewer devicemotion
events.
I was thinking about adding some threshold values, some filtering (so the changes are more gradual) and limit the number of events. That should do it. I will try it tmrw.
@jamiechong try it now, it should be much more pleasant
@WhoMeNope The image is shaking while using the mobile device. The sensitivity is still high. Any chance it can be improved?
@Sahero 👍