HTML5 Canvas简单动画:圆周运动

一个简单的动画:两个点在两个圆上运动。页面中有两个canvas,有一个背景设置为透明。

欢迎访问博主的网站:[url]http://www.108js.com/link.html[/url]

效果图:
[img]http://dl2.iteye.com/upload/attachment/0091/6291/63b99bed-858b-37a8-850a-3f33b19ae14d.gif[/img]




Making things move
















上面的代码没有使用jquery,下面这个使用了jquery
演示效果及源码下载:[url]http://www.108js.com/article/article3/30068.html[/url]

你可能感兴趣的:(HTML5,动画游戏)