Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did that parallax background effect on a web site many years ago. Unfortunately (but understandably) accelerometer data is now behind a permission prompt on the web. Displaying a garish modal permission prompt so that you can do a subtle background transition doesn't make sense as a tradeoff.


I'm a bit confused, what permissions would this animation require?


You don’t want every website in the world to have unfettered access to your accelerometer - way too much sensitive info can be grokked from that.


Accelerometer data from the phone in order to determine the position for the parallax effect.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: