Re:Floyd-Steinberg Dithering Algorithm
by tobestobestobes on Wednesday December 30, 2020 @10:35AM
(#25582520)
I don't know what the context of the original post is, but I implemented this algo in Canvas/JS some time ago https://tgiachett.github.io/canvas-floyd-steinberg-dither/
It's a little rough around the edges, but I think the code is still readable.
[ Parent
| on HN ]