nahyunk1-Wallpaper 05

sketch

function setup() {
    createCanvas(480, 480);
    background("lavender");
}
function draw() {
  for (var x=0; x<7; x++){
   for (var y=0; y<7; y++){
      strokeWeight(0.5);
      stroke("skyblue");
      fill(255);
      push();
      rotate(radians(0));
      arc((x*70)+30, (y*70)+30, 30, 30, 0, PI+QUARTER_PI, PIE);
      pop();
      noStroke();
      fill("lavender");
      ellipse((x*70)+31, (y*70)+27,20,20);
      stroke("pink");
      strokeWeight(0.5);
      fill("white");
      ellipse((x*70)+31, (y*70)+28,10,10);

    }
  }
}

I wanted to create a wallpaper pattern that could potentially look nice as a glow-in-the-dark, so I made a crescent moon shape with the fill and avoided the stroke color with vivid colors.

Leave a Reply