0
1969912

Question about today's Google page

Recommended Posts

Google.com has an animation of a rotating buckyball today. I noticed that when that page is open my CPU usage goes to 100% per task manager. If I hover rhe pointer over it, the rotation stops and my CPU usage goes down to a few %. I sthat because I have a crappy computer or is it due to the type of animation? It's not a .gif. The stuff below might be the code for the animation:

google.doodle)google.doodle={};var aa=-1/14,ba=Math.PI/180,d=(1+Math.sqrt(5))/2,e=1/3,k=2/3,l=d/3,n=2*l,o=[[-k,-e-n,-l],[-e,-k-l,-n],[e,-k-l,-n],[k,-e-n,-l],[e,-d,0],[-e,-d,0],[-l,-k,-e-n],[-n,-e,-k-l],[-e-n,-l,-k],[-k-l,-n,-e],[-k,-e-n,l],[-e,-k-l,n],[e,-k-l,n],[k,-e-n,l],[-l,-k,e+n],[-n,-e,k+l],[-e-n,-l,k],[-k-l,-n,e],[-d,0,-e],[-d,0,e],[-k,e+n,-l],[-e,k+l,-n],[e,k+l,-n],[k,e+n,-l],[e,d,0],[-e,d,0],[-l,k,-e-n],[-n,e,-k-l],[-e-n,l,-k],[-k-l,n,-e],[-k,e+n,l],[-e,k+l,n],[e,k+l,n],[k,e+n,l], [-l,k,e+n],[-n,e,k+l],[-e-n,l,k],[-k-l,n,e],[0,-e,-d],[0,e,-d],[l,k,-e-n],[n,e,-k-l],[n,-e,-k-l],[l,-k,-e-n],[k+l,-n,-e],[e+n,-l,-k],[0,-e,d],[0,e,d],[l,k,e+n],[n,e,k+l],[n,-e,k+l],[l,-k,e+n],[k+l,-n,e],[e+n,-l,k],[k+l,n,-e],[e+n,l,-k],[k+l,n,e],[e+n,l,k],[d,0,-e],[d,0,e]],q=[[0,1],[0,5],[0,9],[1,2],[1,6],[2,3],[2,43],[3,4],[3,44],[4,5],[4,13],[5,10],[6,7],[6,38],[7,8],[7,27],[8,9],[8,18],[9,17],[10,11],[10,17],[11,12],[11,14],[12,13],[12,51],[13,52],[14,15],[14,46],[15,16],[15,35],[16,17],[16,19], [18,19],[18,28],[19,36],[20,21],[20,25],[20,29],[21,22],[21,26],[22,23],[22,40],[23,24],[23,54],[24,25],[24,33],[25,30],[26,27],[26,39],[27,28],[28,29],[29,37],[30,31],[30,37],[31,32],[31,34],[32,33],[32,48],[33,56],[34,35],[34,47],[35,36],[36,37],[38,39],[38,43],[39,40],[40,41],[41,42],[41,55],[42,43],[42,45],[44,45],[44,52],[45,58],[46,47],[46,51],[47,48],[48,49],[49,50],[49,57],[50,51],[50,53],[52,53],[53,59],[54,55],[54,56],[55,58],[56,57],[57,59],[58,59]],r,s,t,u,v,z,A,B,da=0,C=0,D=[],E=[],F= [],G=0,H=0,I,J=0,K=0,L=0,M=0,N=0,O=0,P=0,Q=0,R,S=c,T=c,U=a,V,W,ea,fa,ha=function(){if(S){var b=C-20;if(Math.abs(b)>0.01){H+=-0.5*b;H*=0.6;C+=H;if(C< 0)C=0}else C=20;var f=J-L,g=K-M;if(b=I&&Math.sqrt(J*J+K*K)< 35){N+=f;O+=g}else{if(R){Q=Math.min(20,Math.sqrt(f*f+g*g));P=Math.atan2(g,f)}N+=Math.cos(P)*Q;O+=Math.sin(P)*Q;Q=Math.max(1,Q*0.97)}var h=N*0.4;.................................

"Once we got to the point where twenty/something's needed a place on the corner that changed the oil in their cars we were doomed . . ."
-NickDG

Share this post


Link to post
Share on other sites
Google's fault.
A dumb Javascript.
This is where it is handy having multiple CPU's.
It buries my 2.4GHz single-core x86 box, but only uses 50% of my SPARC 1.2Ghz dual-CPU box.
"There are only three things of value: younger women, faster airplanes, and bigger crocodiles" - Arthur Jones.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0