To be or not to be.That is a question!

---源于莎士比亚的《哈姆雷特》

导航

随笔分类 -  html5 animation

html5 spring demo
摘要:Follow Mouse utils.js 文件https://gist.github.com/King-fly/6034511/raw/2e28359afdfb45800948f0e6bd31aa958ba7f5cb/html5+utilsball.js 文件https://gist.github.com/King-fly/6034525/raw/4664959f6e33196b9b4520136cc67573e07c8282/ball.js 阅读全文

posted @ 2013-07-19 10:02 Ijavascript 阅读(589) 评论(0) 推荐(0)

html5 飞船动画
摘要:Follow Mouse function Ship(){ this.x=0; this.y=0; this.width=25; this.height=20; this.rotation=0; this.showFlame=false;}Ship.prototype.draw=function(context){ context.save(); context.translate(this.x,this.y); context.rotate(this.rotation); ... 阅读全文

posted @ 2013-07-17 18:08 Ijavascript 阅读(332) 评论(0) 推荐(0)

html5 鼠标跟随运动
摘要:function Arrow(){ this.x=0; this.y=0; this.color='#ffff00'; this.rotation=0;}Arrow.prototype.draw=function(context){ context.save(); context.translate(this.x,this.y); context.rotate(this.rotation); context.lineWidth=2; context.fillStyle=this.col... 阅读全文

posted @ 2013-07-16 16:52 Ijavascript 阅读(384) 评论(0) 推荐(0)

简单的直线运动
摘要:Animation 阅读全文

posted @ 2013-07-15 22:55 Ijavascript 阅读(382) 评论(0) 推荐(0)

html5 高级动画精灵
摘要: 阅读全文

posted @ 2013-07-15 16:26 Ijavascript 阅读(412) 评论(0) 推荐(0)

html5 动画精灵
摘要: 阅读全文

posted @ 2013-07-15 14:49 Ijavascript 阅读(496) 评论(0) 推荐(0)