Why Is My Canvas Blurry?
I've been digging into interactive canvas lately. The first problem I hit was: why does everything I draw look blurry? The usual answer is "multiply the canvas size by devicePixelRatio". That's correct, but in practice it only gets you halfway. This post walks through what I found. Two kinds of pixels DPR (Device Pixel Ratio) is the ratio between physical pixels and CSS pixels, exposed as window.devicePixelRatio. * Physical pixels are the smallest light-emitting dots on the screen. * CSS

