Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
atum47
on March 7, 2021
|
parent
|
context
|
favorite
| on:
Accessing device orientation in pure JavaScript
I've written a simple move the ball to a hole game, with simple physics, using this features. One thing I had to take in account is when you flip your phone, the values are inverted.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: