2012-04-24

Zip Google。

今天的Google字樣是用縫線效果,蠻有質感的, 如果做一件Google縫線字的T shirt,應該可以滿足虛榮心。
小量拿去賣的話,不知道會不會被告?

回頭來看今天的Doodle,拉鍊的效果還蠻有創意的
連搜尋文字輸入框也會被拉開。
用來紀念拉鍊的發明人Gideon Sundback 。


以下來簡單分析一下:
圖像元素:
http://www.google.com.tw/logos/2012/sundback12-hp.jpg





















{
back:{src:"/logos/2012/sundback12-hp-s.png",height:31,width:24,x:0,y:0},
s:{src:"/logos/2012/sundback12-hp-l.jpg",height:120,width:186,x:0,y:0},
F:{src:"/logos/2012/sundback12-hp-l.jpg",height:120,width:186,x:186,y:0},
i:{src:"/logos/2012/sundback12-hp-s.png",height:60,width:28,x:24,y:0},
top:{src:"/logos/2012/sundback12-hp-s.png",height:23,width:8,x:52,y:0},
G:{src:"/logos/2012/sundback12-hp-s.png",height:7,width:15,x:60,y:0},
B:{src:"/logos/2012/sundback12-hp-s.png",height:7,width:15,x:75,y:0}
}


[script]


2012-04-22

2012 地球日。

今天的Google Doodle是一個Google英文字花圃,
由原本的小草慢慢轉變為盛開的花朵。
這次不是插畫的方式呈現,有點類似空拍花圃的感覺,
不知道是實拍還是靠合成的效果圖哩?

分析一下這次的做法:
使用一連串共16張圖的方式,配合Javascript呈現。
https://www.google.com/logos/2012/earthday12-hp-b.jpg



[snippets]
function(){try{window.google||(window.google={});google.doodle||(google.doodle={});var c=google.doodle,d=0,e,f,g,h,i=!1,j=function(a,b){if(a){a.style.display=b>0?"block":"none";a.style.filter=b<100?"alpha(opacity:"+b+")":"";b=(b<100?b:99.999)/100;a.style.opacity=b;a.style.MozOpacity=b;a.style.i=b}},k=function(){window.clearTimeout(c.a);window.clearTimeout(c.g)},l=function(){if(!c.h&&google.dstr&&google.rein){c.h=true;google.dstr.push(k);google.rein.push(l)}c.cpDestroy=k;c.cpInit=l;k();e=document.getElementById("hplogo");f=document.getElementById("hplogo-a");g=document.getElementById("hplogo-b");h=document.getElementById("hplogo-c");d=0;i=false;if(window.location.href.indexOf("#")==-1&&e&&g&&h&&f){var a=document.createElement("img");a.style.visibility="hidden";a.onload=m;a.src="/logos/2012/earthday12-hp-b.jpg";e.appendChild(a)}},m=function(){k();g.style.height=h.style.height="2912px";g.src=h.src="/logos/2012/earthday12-hp-b.jpg";j(g,0);j(h,0);g.style.display=h.style.display="";n()},o=function(a,b){if(a){j(a,b);if(b<99)c.a=window.setTimeout(function(){o(a,b+11)},50)}},n=function(){var a=i?g:h,b=i?h:g;a.style.zIndex=4;b.style.zIndex=3;window.clearTimeout(c.a);o(a,0);a.style.top=-d+"px";d=Math.floor(d+182);c.g=d<2912?window.setTimeout(n,500):window.setTimeout(p,500);i=!i},p=function(){window.clearTimeout(c.a);f.style.top="-182px";f.style.zIndex=5;o(f,0)};google.x?google.x({id:"DOODLE"},l):l()}catch(q){google.ml(q,!1,{cause:"DOODLE"})};})();

最後重點當然還是今天是世界地球日,大家好好愛護地球吧!