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 44 - Lazy Gal

lazy-gal-12.png

This week I’m drawing inspiration from the incredible textiles of Gee’s Bend Quiltmakers. I’m glad I took this week to slow it down and look at beautiful handmade things, as I’m hitting a bit of a wall in this 100 day challenge. But, look at this beautiful handmade thing! Today’s quilt by Helen McCloud is one of my favourites in the collection, aptly named “Lazy Gal”. Simple yet surprising with the pop of pink and one dark block. According to Helen, she ran out of the green fabric but had to fill the strip, and liked the way the dark square anchored the composition. A lovely happy accident.

Sketch:

https://editor.p5js.org/chelseamwatson/present/1bAJSQ7pg

“Lazy Gal” by Helen McCloud, 1975


Pseudocode:

  • Draw a few vertical rectangles on the canvas

  • Vary the width of the rectangles

  • Make one or two of those rectangles pink, make the rest light green

  • Draw one last light green rectangle 50 pixels from the left edge of the canvas

  • Place a smaller, darker rectangle on top of this last light green rectangle

  • Draw a thin frame around the edge of the canvas


Drawings:


Code:

x = 110;
woff = 0;

function setup() {
  createCanvas(700, 700);
  background(231, 201, 148);

}

function draw() {

  strokeWeight(0.5);
  stroke(231, 201, 148);
  r = random(1, 3);

  woff = woff + 0.1;
  let n = noise(woff) * 2;

  if (frameCount < r) {
    fill(118, 148, 46);
  }

  if (frameCount > r) {
    fill(251, 205, 223);
  }

  if (frameCount > r + 1) {
    fill(118, 148, 46);
  }

  rect(x * n, 10, 50 * n, height - 20);
  x = x + 100 * n

  if (x > 650) {
    fill(118, 148, 46);
    rect(50, 10, 50, height - 20);

    fill(70, 70, 33);
    r1 = random(50, 650);
    rect(50, r1, 50, 100 * n);
    noLoop();
  }

  strokeWeight(20);
  stroke(230, 223, 210);
  noFill();
  rect(0, 0, width, height);

}

Chelsea Watson