Go+Wasm image dithering tool
+ ++ Load an image, click Go and wait (potentially for a while) for the image + to be dithered using the Nord color palette and the Floyd-Steinberg + algorithm. +
++ Running in the browser with Wasm causes a bit of a performance penalty. + Multithreading is not available (not that it matters much since + Floyd-Steinberg is single-threaded), and sending data back and forth + between JS and Wasm can take a little while. +
++ I've re-used code from + + this article + + to make the Wasm code run in a web worker, with some adaptations for Go + oddities. +
++ If you're into that sort of thing, source code is available on + + GitHub + + . +
+