js clearect
ctx.clearRect(x, y, width, height);
just-saved-you-a-stackoverflow-visit
ctx.clearRect(x, y, width, height);