HTML5 Canvas and Anti-aliasing [duplicate]

You may translate canvas by half-pixel distance.

ctx.translate(0.5, 0.5);

Initially the canvas positioning point between the physical pixels.

Leave a Comment