Hacker News new | ask | show | jobs
by naberhausj 1494 days ago
I agree with CharlesW here. That information box doesn't mention that a normal grid of pixels can also have a non 1-to-1 mapping between physical and logical pixels. Any discussion of pixels that doesn't specifically call out `window.devicePixelRatio` is not going to give people a complete understanding.

This is important. If you're rendering images/graphics with a pixel as your smallest unit then you're not going to look good on most modern devices.