效果如图自动绘制不停歇 代码如下 var canvas = document.getElementById('myCanvas'),width = canvas.width,height = canvas.height; var step,startAngle,endAngle,add=Math.PI*2/100; counterClockwise = false; var isDrawOver=true; var x1=Math.floor(200+100);//设置默认圆心X轴 var y1…