-
Notifications
You must be signed in to change notification settings - Fork 870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Tilt according to device rotation on mobile #28
Comments
I believe making the elements tilt on mobile devices besed on orientation/gyrospcope/accelerometer values would make this effect/library complete. This addition would make the plugin much more usable, given that globally more than 50% of a website's traffic is from mobile devices with touch and without a 'pointer' based mouse. Infact, parallax.js does this, and the animation effect is triggered by pointer events on desktops, and by orientation/tilt events on mobile devices. The only major difference is the type of transformation ... being "translate" for parallax.js and a "3D rotate" for tilt.js. Try it out here: This addition, combined with the option to 'reverse' the interaction would make an already good effect great ! |
Using this in a project and was thinking the same thing! Making use of the phone's gyro would be perfect 👍 |
Yes, given that statistically 54.32 % of all users accessing a website are from a mobile device ( tablet / phone ) without a mouse or other pointing device, it makes sense that those devices are also supported. http://gs.statcounter.com/platform-market-share/desktop-mobile-tablet Cheers ! |
Also, adding native gyro support will mean that this plugin can then be used for all sorts of webapps. |
Love this idea, was the first think I checked on my phone after installing! |
Anyone had a chance to do this? |
👍 |
This would be awesome! |
That would be great! |
I would love to see this option implemented to make this more mobile-responsive. Right now, tapping on an object using tilt.js sometimes slightly changes the orientation and looks pretty bad and inconsistent on mobile, whereas allowing the device's orientation to control tilt would show the effect much better on mobile.
The text was updated successfully, but these errors were encountered: