5 ms·
Anyone else wobble their Macbook back and forth to see if the background shifts in response? (it doesn't)
by famousactress 13y ago
Anyone else wobble their Macbook back and forth to see if the background shifts in response? (it doesn't)
- MBCook 13y agoYep. I liked the effect switching between the home screen and the "apps". My next thought was "I wonder if the parallax thing works too?" Nope.
- deleted 13y ago[deleted]
- UVB-76 13y agoI know it's not quite the same, but MacBooks do have sudden motion sensors. See the "smackbook": https://www.youtube.com/watch?v=6uvQTTPr9Rw https://www.youtube.com/watch?v=6uvQTTPr9Rw
- smackfu 13y agoActually, a lot of laptops including Macs do have an accelerometer. They use it to detect possible impacts and park the hard drive heads. Probably will be going away with SSDs. http://support.apple.com/kb/HT1935 http://support.apple.com/kb/HT1935
- LinaLauneBaer 13y agoAs far I know MacBooks without SSD have a chip that can detect movement. Once the chip detects movement that is too fast it will turn off the hard disk to avoid damage. This chip can also be used with a C API.
- coob 13y agoMacBooks have had accelerometers since the titanium Powerbooks. They were used to park the hard drive heads in the case of sudden movement.
- scott_karana 13y agoAs mentioned elsewhere, the accelerometers are actually part of the HDDs themselves, so SSD-equipped Macs lack this functionality, sadly.
- flyosity 13y agoThis is not true. MacBooks all have a Sudden Motion Sensor which has an API that will give you live accelerometer data. Here's a quick list of apps/games that use it: http://modmyi.com/forums/mac-gaming/800715-sudden-motion-sensor-games-apps.html http://modmyi.com/forums/mac-gaming/800715-sudden-motion-sen... And here's an open-source Obj-C library to get the data: http://www.suitable.com/tools/smslib.html http://www.suitable.com/tools/smslib.html To access the data via JavaScript you can just listen for the "deviceorientation" event. http://stackoverflow.com/questions/4378435/how-to-access-accelerometer-gyroscope-data-from-javascript http://stackoverflow.com/questions/4378435/how-to-access-acc...
- martingordon 13y agoOnly MacBooks with hard drives have Sudden Motion Sensors, those with SSDs do not.
- joethompson 13y agoGoing to https://beta.icloud.com/?crazyAwesome https://beta.icloud.com/?crazyAwesome does give you a similar (exaggerated) effect you can play around with using your cursor.
- danabramov 13y agoI'm curious; how did you know that? Edit: Ah, of course it's in the source.
- joethompson 13y agoYeah, just poking around curious as to how they were implementing the animation.
- htp 13y agoNope, but it does animate when you resize your browser window.