for (var i = 0; i < balls.length; i++) { cxt.fillStyle = balls[i].colors; cxt.beginPath() cxt.arc( balls[i].x, balls[i].y, RADIUS, 0, 2 * Math.PI, true ) cxt.closePath() cxt.fill() }; 为啥加了这句页面就不跳动了呢?
IYang_and_Young
2014-07-14
2 回答
举报
0/150
提交
取消