image experiments
exp1
exp1 generates random "pixel-art" images with intricate patterns. you can actually generate such images on a tiny website i made.
the algorithm is rather simple :
- generate a palette of 8 colors
- fill an image at random with colors from the palette
- for each pixel of the image, compute the average color within a 65x65 neighborhood, then replace the pixel's color with the one that is the farthest from the average within a 49x49 area around it
exp3
exp3 creates a colored plot of the greatest common divisors of pairs of integers. each column/row that corresponds to a prime number has been colored in white.