![js画布生成工具](https://i-blog.csdnimg.cn/blog_migrate/b6a53fae10254e4b51ca8a7e544bf0f1.png)
js画布生成工具
This is very flattering: Greg Houston took my script for DIY canvas pie and added tooltips and better colors logic. Here's the result, it's really nice, built with some MooTools. The tooltips are not supported in <canvas>
but Creg used an image that overlays the pie and set the tooltips with an image map. Clever, isn't it?
这非常令人鼓舞:格雷格·休斯顿(Greg Houston)将我的脚本用于DIY画布派,并添加了工具提示和更好的颜色逻辑。 这是使用MooTools构建的结果,非常好。 <canvas>
中不支持工具提示,但是Creg使用了覆盖饼图的图像,并使用图像映射设置了工具提示。 聪明,不是吗?
I just used random colors for the pieces of the pie, but Greg knows better. Based on a tutorial by Jim Bumgardner, he was able to achieve much more pleasing, yet reliable results. Funny thing that Jim works in Yahoo! two floors above me (used to be even on the same floor).
我只是为饼块使用了随机的颜色,但是Greg知道的更好。 根据Jim Bumgardner的教程,他能够获得令人愉悦却可靠的结果。 吉姆在雅虎工作的有趣的事情! 在我上方的两层(曾经在同一层上)。
Check the demo and the post, cool stuff, works in IE too!
Tell your friends about this post on Facebook and Twitter
在Facebook和Twitter上告诉您的朋友有关此帖子的信息
js画布生成工具