In my previous post I wrote Python code that could generate a pleasing gradient palette from a photo. I decided to port that code to Rust to see what it would look like. The following is a Jupyter notebook of the Rust code to do the same thing. This uses evcxr to run Rust within […]
I was looking through my photos and decided I wanted to make an algorithm to automatically create a palette of colours based on a photo. At some point the concept changed to creating a gradient swatch based on the most common colours within the image. This article goes through the steps I took to go […]
Starting to experiment with dithering to produce an image with a limited colour palette (in this case black and white) that a machine can draw for me. This is probably the worst dithering; I can only go up from here.