An explanation of this year’s stocking stuffers
In my last blog post, I demonstrated that one could extract the dominant/most common colors in a .jpeg
using \(k\)-means clustering to create a color palette, which I skillfully randomized to create thematic art.
Here, I’ll show the source images and the resulting art I’ve made.
A compilation I made:
The initial color palette (with \(k = 30\) clusters):
The curated color palette with modified weights and removed colors:
The initial color palette (with \(k = 30\) clusters):
The curated color palette:
The initial color palette (with \(k = 30\) clusters):
The curated color palette with modified weights and removed colors: