Making a Sunny Side Up Egg in Processing
To make this sunny side up egg design, I wasn't sure how to approach it at first. I was going to work with the Bezier, but to make this design simpler, I made multiple overlapping white circles (without a stroke) and added some yellow circles for the yolk. Of course, this design isn't as precise using this technique. For a more organic shape, I would try experimenting with Bezier.
void setup() {
size(1000, 1000);
background(143, 140, 121);
}
void draw() {
noStroke();
fill
(255, 255, 255);
ellipse(560, 460, 550, 550);
noStroke();
fill
(255, 255, 255);
ellipse(860, 600, 250, 250);
noStroke();
fill
(255, 255, 255);
ellipse(790, 370, 250, 250);
noStroke();
fill
(255, 255, 255);
ellipse(860, 490, 150, 150);
noStroke();
fill
(255, 255, 255);
ellipse(200, 450, 350, 400);
noStroke();
fill
(255, 255, 255);
ellipse(500, 650, 550, 500);
noStroke();
fill
(255, 255, 255);
ellipse(750, 850, 350, 350);
stroke(255, 220, 13);
strokeWeight(5);
fill
(255, 220, 13);
ellipse(500, 500, 150, 150);
stroke(255, 220, 13);
strokeWeight(5);
fill
(255, 220, 13);
ellipse(550, 550, 150, 150);
stroke(255, 220, 13);
strokeWeight(5);
fill
(255, 220, 13);
ellipse(480, 580, 200, 200);
}
- Sheryl
Nice!
ReplyDelete