Amit Singh patched into the six-axis motion sensor in the new Apple Powerbooks—originally designed to measure quick movements, like drops, and park the hard drive to prevent damage—and wrote a program that rotates the windows based on the orientation of the laptop to the ground.