What technology is used at the Google homepage (9 June 2011)? They made something like a guitar pickup for the snares. When you move the mouse over it, the snares are being played.
I know it is no flash, otherwise the add-on for Firefox would have blocked it.
Thanks.
They use a canvas
<canvas width="474" height="175"></canvas>and flash
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="0" height="0" id="guitar11-sound-player" type="application/x-shockwave-flash"><param name="movie" value="/logos/swf/guitar11.swf"><param name="allowScriptAccess" value="always"><object id="guitar11-sound-player-2" type="application/x-shockwave-flash" data="/logos/swf/guitar11.swf" width="0" height="0"><param name="allowScriptAccess" value="always"></object></object>The flash is for the sound.
Here’s the JavaScript:
They also have some CSS:
Note
and
<div id="hplogo-click" onclick="google.doodle.go();"></div>which contain the actual image of the guitar.