No description
Find a file
2026-04-01 19:21:21 +02:00
image-processor some improvements 2026-04-01 19:21:21 +02:00
src some improvements 2026-04-01 19:21:21 +02:00
.dockerignore improved performance 2026-03-31 20:42:13 +02:00
.gitignore some improvements 2026-04-01 19:21:21 +02:00
Dockerfile build image rust version 2026-04-01 11:21:18 +02:00
index.html some improvements 2026-04-01 19:21:21 +02:00
package-lock.json improved performance 2026-03-31 20:42:13 +02:00
package.json improved performance 2026-03-31 20:42:13 +02:00
README.md improved performance 2026-03-31 20:42:13 +02:00
unsplash.png example 2024-04-10 16:39:59 +02:00
webpack.config.js renames 2024-04-10 16:22:30 +02:00

Spiegel image filter project

  • rust/webassembly for image processing
  • vanilla javascript for the user interface
  • no server (just static pages)

Live demo at https://shautvast.github.io/spiegel-demo/

  • Sorry for the poor performance, especially on larger images.
  • It uses the median image filter from image.rs. That in itself can be pretty slow. (Although the implementation uses a sliding window histogram, which I think is pretty nifty).
  • And on top of that, I created this custom flood fill algorithm, that instead of filling it with with a single color, looks up a sample from the Spiegel book (that has a corresponding color) and takes the pixels from that.

sample output sample