Before the App Store was even a concept, Sheraton started selling the beer-drinking video file for $2.99. “It was just a little video file that people had to hardwire in and download via iTunes,” he says. “But I probably made around $2,000 a day for the longest time from that.”
By the time Apple came knocking, Sheraton knew he was onto something — he just needed to figure out how to code the video to Apple’s new device. “I have a lot of experience in film and photography, and I wanted to make the beer look as realistic as possible,” he explains. “So rather than doing animation, I chose to make assets from looped videos and image sequences — that’s why the foam looks so real.”
Sheraton then programmed the looped videos and image sequence to interact with the iPhone’s accelerometer. “The accelerometer is constantly measuring the phone’s angle versus the horizon, so by tethering the line between the liquid and the foam to the horizon, you can move your phone in any direction and it looks like it’s filled with liquid,” he tells me. “From there, the rest is just a series of ‘if statements,’ so ‘if the tilt of the phone goes beyond X,’ then the program should switch to different loops of foam and liquid that make it look like the phone is emptying.”
Sheraton called it iBeer, developed under the name of his company Hottrix, and priced it again at $2.99. “We shot to first place [in the App Store] on the very first day and stayed there for about a year,” he says. “Apart from its visual humor and sort of appealing to the lowest common denominator, iBeer was a large success because it allowed people to show their friends what the phone was capable of.