3 ms·
I can't access the article but looking at the homepage, I'm surprised it's not just a giant spritesheet that changes the x/y offset on certain intervals. Never
by seanalltogether 15y ago
I can't access the article but looking at the homepage, I'm surprised it's not just a giant spritesheet that changes the x/y offset on certain intervals.
Nevermind, it is a giant spritesheet, but it's optimised to allow for static elements to not have to be redrawn.
http://www.google.com/logos/2011/graham11-hp-sprite.png http://www.google.com/logos/2011/graham11-hp-sprite.png
- noduerme 15y agoYes, but isn't Google supposed to be able to come up with an elegant equation to represent those coordinates so it's not just this huge ugly pile of crap? I popped the code open on it this morning and yawned. You know a company's starting to get love handles when they have people who spend a week doing stuff like this that runs for a day, mildly annoys a bunch of people, and is immediately replaced.
- cma 15y agohttp://upload.wikimedia.org/wikipedia/commons/c/c7/Marissa_Mayer.jpg http://upload.wikimedia.org/wikipedia/commons/c/c7/Marissa_M... (edit: nevermind, she is now VP of Location and Local Services; I was thinking of the background image debacle)
- 83457 15y agoYou do understand that people are literally going to google to watch this animation, play pac-man and whatever else cool that happens on the frontpage? Made it to Hacker News frontpage and people are talking about Google's homepage. Job well done.
- noduerme 15y agoLighten up. People go to google regardless. And people talk about it because it's the first thing everyone sees when they get to work in the morning. All I'm saying is it's not really much of an accomplishment. An animated gif would have been the same size file, for example -- no giant array necessary. I'm just saying it's ironic that a company that's supposed to exemplify elegant systems would end up writing single-use code that basically boils down to a large ANSI graphic you'd see on the front of a WWIV BBS. Hugh Hefner's birthday is April 9th. Where was his banner?