I picked the computer generated art designed by Hiroshi Kawano for my recreation. Looking at it, I realize that it is black and white only. It also looks random, but there is a certain pattern to it, which reminds me of noise. I thought about how each pixel in the grid is either black or white. I attempted the design by doing a double for loop through the height and width of the screen size. I was able to create noise with the x, y values and multiplying it with a freq of 0.03 ((The image looks tighter if the freq was too high and sparse when the freq is too low)). Depending on whether the noise value is above 0.5 or below, I gave it stroke of either black or white. For each of those pixel in the screen, I made it a point(x, y) so that it would draw something.
From Triangulation:
My Recreation:
If I play with colors and adjust based on grey scale (without (if noiseVal < 0.5)):
The Code:
void setup() { size(640, 480); } void draw() { for (int i = 0; i < width; i++) { for (int j = 0; j < height; j++) { float freq = 0.03; float noiseVal = noise(i * freq, j * freq); if (noiseVal < 0.5) { stroke(255); } else { stroke(0); } strokeWeight(map(noiseVal, 0, 1, 1, 3)); point(i, j); } } }
I then tried to make the noise move since it has a x, y: