Live data from Hacker News

Do a barrel roll - Google Search

google.com

21–30 of 113 posts

Re: Do a barrel roll - Google Search

#23
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.

Not to worry - this code is only included for this query. I can guarantee you this easter egg wouldn't have shipped if it had required supporting code to be present on every query, for the reasons you mentioned.

Re: Do a barrel roll - Google Search

#26
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 CSS transition in an inline block. I imagine it's inserted dynamically with the results.

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

Re: Do a barrel roll - Google Search

#28
post #6

Note the bug: "do a barrel roll" skyrocketed at the top of the suggestion lists for "do a ". So if you have Google Instant enabled, just typing "do a " will instant-search "do a barrel roll" and trigger the effect. I'm sure this wasn't intended.

I wonder if the barrel roll effect was intended for a Google Image search on "do a barrel roll" as well. The effect is much more prominent -- and annoying since you see the effect every time you navigate back. (I hadn't seen the meme, so I was browsing for images on it.)

Re: Do a barrel roll - Google Search

#30
post #6

Note the bug: "do a barrel roll" skyrocketed at the top of the suggestion lists for "do a ". So if you have Google Instant enabled, just typing "do a " will instant-search "do a barrel roll" and trigger the effect. I'm sure this wasn't intended.

I wonder if the barrel roll effect was intended for a Google Image search on "do a barrel roll" as well. The effect is much more prominent -- and annoying since you see the effect every time you navigate back. (I hadn't seen the meme, so I was browsing for images on it.)

oh yes and it is completely broken on Google Images, at least on my browser (Chrome): a few elements are misplaced during the animation, and it looks like the center of rotation is not the center of the page.
Post reply on HN