Hacker News new | ask | show | jobs
by hubblesticks 1509 days ago
Love this! I tried this on my phone and instinctively tried to turn my phone to make the pieces slide around (after seeing the falling/sliding physics), expecting them to react to the gyro in the phone. Then realized, right, this is a web app!

Great work, fun!

2 comments

Thanks for the feedback, using the phone's accelerometer is actually a great idea! As others mentioned, there are web APIs for that these days, I'll try to include something like that in the next version.
Seconding this. Would be great fun. Perhaps not for side to side, but allow for brief reversal of gravity by lurching the phone upwards?
I'm confused by your comment, web apps can access the accelerometer fine.
Sorry not a web dev or programmer, didn't realize that! Well then, that would be cool to enable.
Yeah, agreed, it's a cool API.