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 阅读(348) 评论(0) 推荐(0) 编辑