//GyuEun Park
//15-104 E
//gyueunp@andrew.cmu.edu
//Project-05-A
function setup() {
createCanvas(400, 400);
noLoop()
}
function draw() {
background(114, 0, 0);
for (var x = 0; x <= width; x = x + 50){
for (var y = 0; y <= height; y = y + 50){
//white hightlight
push();
stroke(247, 230, 230, 110);
strokeWeight(1.5);
fill(247, 230, 230);
arc(x+1, y+1, 15, 10, 0, PI-120, CHORD);
pop();
//shadow below seed
push();
stroke(0);
strokeWeight(1);
fill(0);
arc(x, y, 15, 10, 0, PI-20, CHORD);
pop();
//seed
push();
noStroke();
fill(209, 200, 123);
arc(x-3, y-3, 20, 15, 0, PI-20, CHORD);
pop();
//shadow on seed
push();
noStroke();
fill(181, 173, 106);
arc(x-2, y-0.5, 16, 10, 0, PI-20, CHORD);
pop();
//circle highlights from left to right
noStroke();
fill(247, 230, 230);
ellipse(x-8, y+6, 1, 1);
stroke(247, 230, 230, 110);
strokeWeight(1.5);
fill(247, 230, 230);
ellipse(x-5, y+8, 2.5, 1);
stroke(247, 230, 230, 110);
strokeWeight(1.5);
fill(247, 230, 230);
ellipse(x-1, y+9, 1, 1);
noStroke();
fill(247, 230, 230);
ellipse(x+2.5, y+8.7, 1, 1);
}
}
}
Although I made a repeating pattern by following the project guideline, my wallpaper resembles the naturally occurring pattern of strawberry achenes. While maintaining the characteristics of the fruit, I used multiple geometric shapes to add small details, such as subtle highlights and shadows. For future projects, I would love to experiment with creating not only repeating patterns, but also textures and dimensions that further enhance the quality of my work.