Palette swap
Each pixel is replaced by the nearest color in a fixed palette. One Wasm binary runs that mapping as ordinary Go, as the portable simd package, and as Wasm archsimd.
Loading Wasm.
Each pixel is replaced by the nearest color in a fixed palette. One Wasm binary runs that mapping as ordinary Go, as the portable simd package, and as Wasm archsimd.
Loading Wasm.