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 90 - Twirls

twirls-8.png

The last in my unintended series of “1 point marks that are rainbow coloured and are also confined to a square” or something. But like, just imagine these created with thread! I drew design inspiration from the wonderful embroidery of Emily Barletta, studying her work has me increasingly excited to start creating with tactile materials. Did I overcomplicate my sketches by drawing with tiny ellipses rather than lines just to get a bit of that stitch effect that no one else will notice but me? Probably. Did I use random rainbow colours instead of choosing a palette out of pure laziness and creative fatigue? Absolutely. Only ten more sketches to go!

Sketch:

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


Drawings:


Code:

rad = 0;
i = 0;
count = 0;

function setup() {
  createCanvas(800, 800);
  background(245, 243, 240);
  rR = random(0, 255);
  rG = random(0, 255);
  rB = random(0, 255);
  rX = random(-200, 200);
  rY = random(-200, 0);
}

function draw() {

  translate(width / 2, height / 2);

  var angle = TAU / 200;
  var x = cos(angle * i) * rad;
  var y = sin(angle * i) * rad;
  i = i + 0.5;

  if (x + rX < -200 || x + rX > 200 || y + rY < -200 || y + rY > 200) {
    stroke(245, 243, 240);
  }
  else {
    stroke(rR, rG, rB);
  }

  ellipse(x + rX, y + rY, 1);

  if (x == rad) {
    rad = rad + 1;
    rR = random(0, 255);
    rG = random(0, 255);
    rB = random(0, 255);
  }

  if (rad > 150) {
    rad = 0;
    rX = random(-200, 200);
    rY = rY + random(50, 100);
    count = count + 1
  }
}

Chelsea Watson