The canvas size is currently 2x2 pixels larger than its CSS size, causing it to be scaled. This is caused by the element having a 1 pixel border, which under box-sizing: border-box;-rules makes the content area that much smaller. Either remove the border, or make the canvas size 2x2 pixels smaller.
The canvas size is currently 2x2 pixels larger than its CSS size, causing it to be scaled. This is caused by the element having a 1 pixel border, which under
box-sizing: border-box;
-rules makes the content area that much smaller. Either remove the border, or make the canvas size 2x2 pixels smaller.