logoalt Hacker News

AndrewStephens11/08/20241 replyview on HN

Harsh 1-bit dithering is such an interesting topic - even in 2d there are multiple ways of doing it, each with trade-offs and advantages.

It is amazing to me that something that was so integral to the 80s computing experience is now actually quite tricky on modern hardware. For my own project[0] I found that it is almost impossible to ensure a one-to-one mapping between offscreen pixels and the canvas provided by the browser.

[0] https://sheep.horse/2023/1/improved_web_component_for_pixel-...


Replies

Moru11/09/2024

I still find it funny that my pretty new nVidia card takes several seconds to switch between resolutions while my 35 year old Atari could switch resolution several times per screen refresh. I made a simple game that had color display in low resolution on three quarters of the screen while the bottom had 4 colors and double horizontal resolution to fit more text instead. So resolution change was done 120 times per second without slowing down the cpu much at all.

show 1 reply