You may translate canvas by half-pixel distance.
ctx.translate(0.5, 0.5);
Initially the canvas positioning point between the physical pixels.
More Related Contents:
- Html5 canvas drawImage: how to apply antialiasing
- Subpixel anti-aliased text on HTML5’s canvas element
- Poor anti-aliasing of text drawn on Canvas
- Canvas width and height in HTML5
- Can I turn off antialiasing on an HTML element?
- Draw on HTML5 Canvas using a mouse
- Drawing an SVG file on a HTML5 canvas
- html5 – canvas element – Multiple layers
- How can I convert an HTML element to a canvas element?
- How to Copy Contents of One Canvas to Another Canvas Locally
- Canvas drawings, like lines, are blurry
- Base64 PNG data to HTML5 canvas
- get click event of each rectangle inside canvas?
- canvas default size
- How can I write text on a HTML5 canvas element?
- Gradient Stroke Along Curve in Canvas
- Drawing a dot on HTML5 canvas [duplicate]
- HTML5 Canvas slows down with each stroke and clear
- context.getImageData() operation is insecure
- All html canvas shapes are given the color of the last object added
- How can I use custom fonts in an HTML5 Canvas element?
- How to apply font anti-alias effects in CSS? [duplicate]
- Create links in HTML canvas
- Browser Canvas CORS Support for Cross Domain Loaded Image Manipulation
- Content Security Policy: “img-src ‘self’ data:”
- “Erasing” in html5 canvas
- How put percentage width into html canvas (no css)
- Clear Canvas Rect (but keep background)
- HTML5 Canvas – Fill circle with image
- HTML canvas with scrollbar