A blur in Rust, called from this page
A small crate, a box blur and a histogram, compiled to wasm. The page imports only
src/api.ts, the facade wasm-facade wrote from the crate's declarations.
histogram(image), luminance
filters/src/lib.rsthe Rust, written by hand
wasm-facade generatereads its declarations
src/api.ts, src/hooks.tswhat this page imports
Only the Rust is written by hand. wasm-facade check fails in CI if a generated file drifts
from it.