diff --git a/README.md b/README.md index 83dd99e..3f59e42 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,17 @@ -**Spiegel** image filter project (Work In Progress) +**Spiegel** image filter project -- rust -- wasm +- 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](https://github.com/shautvast/spiegel-web/blob/main/unsplash.png) diff --git a/index.html b/index.html index 2035ab8..d1ba718 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@
@@ -37,7 +37,9 @@

(Painting can take long, be patient

-

all image processing is done in your browser)

+

all image processing is done in your browser).

+
And ignore all the warnings! It will be all right.
+