Live data from Hacker News

Do a barrel roll - Google Search

google.com

11–20 of 113 posts

Re: Do a barrel roll - Google Search

#11
Happy to find that there's still a little humor left in the corporate world :)

It's probably a good publicity/user-karma boost that this has come out at this timing, right after the recent debacles with Gmail, Google Reader, and the iOS Gmail app. Definitely leaves me feeling warm and fuzzy inside!

Re: Do a barrel roll - Google Search

#13

For those who aren’t using a compatible browser: right after the page loads, a screenshot of your view of the page rotates 360° as if in a barrel roll. The page is then a normal, functioning Google results page.

It's not a screenshot, it's the actual page that rotates - you can click the links during the roll.

Re: Do a barrel roll - Google Search

#16
post #8

Nice, but I wonder how much money Google are losing delivering the animation code for this easteregg with every results page, on the off-chance that someone types this query. I couldn’t find any sign of dynamic code loading in a cursory glance in the web inspector. Google Search’s source code is otherwise ruthlessly optimised for bandwidth savings.

It's done with CSS:

body { -moz-animation-name: roll; -moz-animation-duration: 4s; -moz-animation-iteration-count: 1; -o-animation-name: roll; -o-animation-duration: 4s; -o-animation-iteration-count: 1; -webkit-animation-name: roll; -webkit-animation-duration: 4s; -webkit-animation-iteration-count: 1; }

Re: Do a barrel roll - Google Search

#17
post #8

Nice, but I wonder how much money Google are losing delivering the animation code for this easteregg with every results page, on the off-chance that someone types this query. I couldn’t find any sign of dynamic code loading in a cursory glance in the web inspector. Google Search’s source code is otherwise ruthlessly optimised for bandwidth savings.

Whatever money they're losing on this, they're probably regaining in terms of PR (which is much needed after their bad-karma with users lately with reader/gmail), and hence long term revenue.

Re: Do a barrel roll - Google Search

#18
post #8

Nice, but I wonder how much money Google are losing delivering the animation code for this easteregg with every results page, on the off-chance that someone types this query. I couldn’t find any sign of dynamic code loading in a cursory glance in the web inspector. Google Search’s source code is otherwise ruthlessly optimised for bandwidth savings.

It's a CSS3 transform. Code to the client is no more than a few bytes.
Post reply on HN