1、clearRect 和 translate 不小心位置对调,导致了画质异常难看,功能也出现错误,正确应如下:

ctx.clearRect(0,0,600,600);
ctx.save();
ctx.translate(150, 150);