I’ve been trying to find out how to access the devices accelerometer/gyroscope and got this code, but I’m having trouble making it work.
I also found some resources on the device orientation api:
Feel free to use, edit and republish the code
yes i could... i’ve written a few ios apps. I’d assume that apple has some special framework just for that purpose (i think it’s the core motion framework)
unfortunately learning about this might not help me much with the web-based system.
how would you go about doing this for android, though?
Hahaha I thougth u're using android phone, ios/apple doesn't allow u to manipulate their operating system on your phone, except android/linux
That's too hard to comunicate or call the gyroscope of your phone using web-based system..
U should try other apps with gyroscope/accelerometer, and learn the algorythm with it