Processing Exercise: Food!
Today, in experimenting with Processing, I made a juicy pear! To make this pear, I combined a circle, ellipse, and a small, narrow rectangle. I also played with color schemes using Paletton. Here's the code for my pear:
void setup() {
background(150,193,216);
size(500, 500);
}
void draw() {
noStroke();
fill(198,213,69);
ellipse(250, 300, 200, 200);
ellipse(250, 250, 125, 300);
noStroke();
fill(77,55,26);
rect(248,90,5,15);
}
-Anna
Comments
Post a Comment