For the past two days I was implementing RandomArt algorithm on Twitch. You can find the source code in here github.com/tsoding/rand... It's a pretty cool idea that generates this kind of images.
Post
The idea is that you have function F: [-1..1]² → [-1..1]³ which giving a xy coordinates between -1 and 1 gives you an RGB value. So you generate an image by sampling the function with whatever resolution you need. For example F(x, y) = (x, x, x) gives you horizontal gray gradient.
0 reposts18 likes
I have not watched the stream yet, so my comment may be completely out of the topic. But have you tried this simple idea of a palette generator by Iñigo Quilez? iquilezles.org/articles/pal...
iquilezles.orgInigo QuilezArticles on computer graphics, math and art
You might already know this, but if you add a selection step after the merging that’s called a “genetic algorithm”: pdfs.semanticscholar.org/515e/f260621... (that’s the Scientific American article from July 1992 where I first read about them)
pdfs.semanticscholar.orgpdfs.semanticscholar.org