(一)小球曲线弹跳 需要了解的参数: clearRect清除函数 clearRect(x,y,width,height) 方法清空给定矩形内的指定像素。调用方式:context.clearRect(x,y,width,height) 参数值