3 ms·
Did anybody check out the slide before this, device orientation? http://slides.html5rocks.com/#slide23 http://slides.html5rocks.com/#slide23 That's pretty awes
by ImJasonH 16y ago
Did anybody check out the slide before this, device orientation? http://slides.html5rocks.com/#slide23 http://slides.html5rocks.com/#slide23
That's pretty awesome too, I could see this being great for mobile web apps, especially games.
- Raphael 16y agoPity the Android browser ignores URL fragments.
- grigory 16y agoThis worked great on my aging macbook. That's just amazing, I had no idea it came with sensors to support such functionality.
- ImJasonH 16y agoAll Apple laptops since 2006 have had a sudden motion sensor to detect when the laptop is falling and lock the hard drive platters in place to prevent damage. Apple exposes this to software basically just because they can, AFAIK. And to support cool features like this. http://en.wikipedia.org/wiki/Sudden_Motion_Sensor http://en.wikipedia.org/wiki/Sudden_Motion_Sensor
- newhouseb 16y agoYeah, though support is pretty limited though and worst of all, the axis are not standard and so there needs to be branches for basically every sensor/computer configuration to ensure Y+ is up and X+ is right. Coming from iOS land it's exciting until you realize it's going to be tricky to do widespread. Here's to hoping it improves soon though!