Inspired by Max Cooper’s Order from Chaos, I explored how to represent order in apparent chaos. In Order from Chaos, Max Cooper uses raindrop sounds to create a organic rhythm by some amount of beat matching.
Similarly, I tried to position match randomly generated circles by fitting them into a grid of 40 x 40 pixels. I then further to make apparent an inherent pattern, in this case a ring. For all circles that were generated in a specific range from the center, they were colored differently and had multiple concentric circles within them. Circles that didn’t fit this criteria, were white and over time faded away, just hinting at ripples from rain.
function setup() {
createCanvas(800, 800);
background(255);
noFill();
}
function draw() {
sizechaos = random(40,60)
randomR = random(100,255)
randomG = random(50,100)
randomB = random(60)
randomX = (int(random(20))-10) * 40
randomY = (int(random(20))-10) * 40
rad = sqrt(pow(randomX, 2) + pow(randomY, 2))
if(rad < 300 && rad > 150){
stroke(randomR, randomB, randomG)
for(i = 0; i < sizechaos; i += 7){
strokeWeight(2);
background(205, 105, 102, 1);
circle(randomX+400,randomY+400,i)
}
}
else{
strokeWeight(2);
stroke(255)
circle(randomX+400,randomY+400,sizechaos)
}
}

Leave a Reply