3 ms·
window.devicePixelRatio ?
by bawolff 1y ago
window.devicePixelRatio ?
- o11c 1y agoParent said that's not reliable apparently.
- FrostKiwi 1y agoDevicePixelRatio changes with screen DPI and browser zoom, some combinations result in repeating decimals. You will get off by one pixel rendering and thus a sudden loss in sharpness due to the whole canvas getting bilinear interpolation.