News for hackers. Stuff that matters.
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.
Re:Floyd-Steinberg Dithering Algorithm by ycollette on Wednesday December 30, 2020 @11:17AM (#25582929)
thanks for the link :) I will check that. I certainly will try this using processing. There is already a video on youtube which details how to do this.