xxxxxxxxxx
/*
Katie Frank
Art 3001
February 9, 2017
*/
void setup () {
size (500, 500);
background (155);
}
int x = 25;
void draw() {
for (int i = 25; i < width; i = i + 25){
face(i, 50);
}
}
void face(int x, int y) {
fill (255, 237, 0);
ellipse (x, y, 40, 40); //head
fill (0);
arc(x-10, y+3, 40, 10, 0, HALF_PI, OPEN); //mouth
ellipse (x-5, y-5, 5, 5); //left eye
fill (0);
ellipse (x+5, y-5, 5, 5); //right eye
stroke(0);
// ellipse (x, y+8, 10, 10); //mouth
}