100x100 Computational Design Challenge

Throughout 2020 I created 100 computational designs in 100 days as a way to learn creative coding and explore generative art

Day 60 - Palm Fronds

palm-fronds-1.png

I don’t know man…things got weird! I sat with this sketch for waaaay too long, mashing different numbers into the variables of the code I’ve been manipulating all week. But, everything I tried was just meh. I was about ready to give up and then this happened. Somehow. Some drawings turn out better than others, but stumbling upon the good ones is a real delight.

I’m off on a summer vacation as of today at 4:00 (but who’s counting!). I rented a little cottage by a river up north with NO WIFI so I’ll be offline for the next week or so. Can’t believe I’m at SIXTY designs, thanks so much for sticking with me!

Sketch:

https://editor.p5js.org/chelseamwatson/present/__BU7PeeK


Drawings:


Code:

y = 10;
xoff = 0;

function setup() {
  
  createCanvas(700, 700);
  let shades = ['#76AA8B', '#3A6554', '#A1A56F', '#DEB700', '#FFC7B8'];
  let shade = random(shades);
  c = color(shade);
  background(c);
  stroke(c);

}

function draw() {

  xoff = xoff + 0.1;
  let n = noise(xoff) * 100;
  
  let shades = ['#76AA8B', '#3A6554', '#A1A56F', '#DEB700', '#FFC7B8'];
  let shade = random(shades);
  c = color(shade);
  fill(c);

  for (x = 0; x < 360; x++) {
    push();
    translate(width / 2, height / 2);
    rotate(radians(x * n));
    ellipse(x, y, x, y);
    pop();
  }
  
  y = y + 100;

}

Chelsea Watson