Open increpare opened 3 years ago
window.devicePixelRatio on my pc is 1.5
https://www.html5rocks.com/en/tutorials/canvas/hidpi/ doesn't seem to fix anything - if anything it breaks it more - 'pixelate' doesn't seem to have any effect.
https://news.ycombinator.com/item?id=26655521 for future reference - not a full solution, but a partial solution
note to self: check out ResizeObservers - they seem to be widely supported now.
March 2022 update: checked again - pixel access in the browser is still a hellscape, just as it was in Feb 2021, just as it was in 2013.
I feel like I've partially mccolough effected myself by looking at the ycomb test code...
https://news.ycombinator.com/item?id=26655521 for future reference - not a full solution, but a partial solution
2022 update: none of these work on my m1 macbook 😁