能演奏乐曲啊,我想知道那个弹拨的视觉效果怎么做出来的,鼠标不同速度,不同方向经过都会有不一样的效果啊。
分析一下源代码啊,谢谢
根据Google官方的Blog,今天的doodle使用了以下技术:
- JavaScript
- HTML5 Canvas (绘制吉他弦)
- CSS
- Flash (声音)
- Google Font API
- goo.gl
- App Engine
If you’re curious, the doodle was made with a combination of JavaScript, HTML5 Canvas (used in modern browsers to draw the guitar strings), CSS, Flash (for sound) and tools like the Google Font API, goo.gl and App Engine.
原文(需翻墙) -> http://googleblog.blogspot.com/2011/0...