K-Means Color Quantization in WebAssembly

Original

Result