/* Smiley Face Processing Sketch by Michael Goldwasser */ // let's get started size(400, 400); background(255); // general face fill(255, 255, 0); // yellow ellipse(200, 200, 280, 280); // eyes fill(255); ellipse(158, 158, 56, 56); ellipse(242, 158, 56, 56); noStroke(); fill(56, 183, 240); // bluish color of irises ellipse(158, 158, 34, 34); ellipse(242, 158, 34, 34); fill(0); // black for pupils ellipse(158, 158, 20, 20); ellipse(242, 158, 20, 20); // mouth noFill(); stroke(243, 23, 56); // shade of red strokeWeight(14); arc(200, 200, 168, 168, 0.25*PI, 0.75*PI); // add a friendly message textSize(36); textAlign(CENTER, TOP); fill(0); text("Have a nice day!", 200, 340);