Mosaic generator
Hello. I wrote this mainly as an exercise to train my Scheme skills. Obviously you need to have DrRacket installed on your machine and have racket
existing somewhere in the bin folders.
The way it works is in a couple of steps. So let’s get started with it:
racket avg-rgb.rkt X > avg-rgb-vals.txt
racket build-mosaic.rkt Y N avg-rgb-vals.txt > mosaic.html
The above process will output an HTML file mosaic.html
that contains references to all of the specified images in step 1 that match the best Euclidean distance.
Here is an example of a generated mosaic using a library of 100 random images:
Boro Sitnikovski
August 2016