Facebook’s Paper photo tilt feature in HTML5

tilt

Possible thanks to the Device Orientation Events.

Facebook’s Paper photo tilt feature in HTML5 →
photoTilt Demo →
photoTilt Source (GitHub) →

Did you know that this doesn’t work on a Retina MacBook Pro, but does on the previous MacBook Pro model? It’s the Sudden Motion Sensor which affords orientation detection, yet one cannot find that sensor inside a Retina MacBook Pro. Digging into Apple Support one reads that the SMS is “designed to help prevent disk issues if the computer is dropped or undergoes severe vibration”. As the MacBook Pro sports an SSD (instead of an HDD which benefits from the SMS) Apple have omitted the sensor from the Retina MacBook Pro.

Apple should put back the sensor; it has its uses (games, websites, etc.)

Published by Bramus!

Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.