Google Launches Animated Doodle To Celebrate Sir Isaac Newton’s Birthday

Posted on

Did you browse Google Today and Noticed a Falling Apple on the Screen & Wondered Whether Google was mocking its Arch Rival – APPLE by displaying a Falling Apple on it’s homepage!!…Well You Got it Wrong !!!!!…..The Real Answer is Down Below…

Google For the 1st Time Ever has used an Animated Doodle on its homepage – http://www.google.com/ncr 
to celebrate the 366 birthday of Sir Isaac Newton, What makes this doodle special is that it pays homage to Sir Isaac Newton’s Discovery of The Theory of Gravity by displaying a falling apple on it’s homepage.
According to Popular Technology Blog – Digital Inspiration – This Animation was not created by using GIF Animation or Flash but simple JavaScript. Here is the JavaScript Code for reference

<img width="384" height="138" border="0" onload="window.lol
&amp;&amp;lol();setTimeout(function()
{var h=0,v=1,f=document.getElementById('fall'),i=setInterval
(function(){if(f){var r=parseInt(f.style.right)+h,b=parseInt
(f.style.bottom)-v;f.style.right=r+'px';f.style.bottom=b+'px';
if(b>-210){v+=2}else{h=(v>9)?v*0.1:0;v*=(v>9)?-0.3:0}}},25)
;google.rein&amp;&amp;google.rein.push(function()
{clearInterval(i);h=0;v=1})},2000)" style="margin-top: -1.22em;" 
id="logo" title="Birthday of Sir Isaac Newton" alt="Birthday of Sir 
Isaac Newton" src="/logos/newton10-tree.jpg"/>
Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.