A comparison of error diffusion dither performance using the Stucki error diffusion dither algorithm between JavaScript and WebAssembly generated from C++, D, Rust and Zig.
- node >= 16.14
- npm
- make
- POSIX compatible operating system
- emcc >= 3.1.10
- ldc2 >= 1.29.0
- zig 0.12.0
npm install
npm start
- Make sure you have all WebAssembly dependencies installed
make
Alternatively you can run using Docker (x86-64 architecture only)
docker build -t wasm-dither .
docker run -p 3000:3000 wasm-dither
WASM Error Diffusion Dither Comparison is released under the MIT License. See license.txt for more details.