> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://bard117s14.sketchpad.cc/sp/pad/view/ro.wTxsnKXrm74/rev.1832
 * 
 * authors: 
 *   jb
 *   Katie
 *   josh abramovici

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   https://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



// This sketch builds on a prior work, "Self Portrait", created by Keith O'Hara
// http://bard117s14.sketchpad.cc/sp/pad/view/ro.A7dB7f8cmROVdL/rev.66



/* * 
 * A Simple Self-Portrait (CMSC117 Assignment 1)
 * Katie <[email protected]>
 * Jan 30, 2014
 *I was trying to create an image by using the shapes we had learned in class to create new shapes by layering them on top of each other. Rendering constantly was important because if I didn't I would end up with small errors that I would have to search for, but other than that I had no issues. The running program is representative of the culmination of the work whereas the code represents all the individual steps you took and often is much more complex than the final product seen in the running program.
 */
 
size(200, 200);
smooth();
rectMode(CENTER);

//hair
noStroke();
fill(20,193,180);
ellipse(width/2,height/2,125,150);

//head
fill(245,228,185);
ellipse(width/2,height/2,90,100);

//neck
rect(100,150,40,50);

//shoulders
fill(98,97,96);
rect(100,180,125,39);
ellipse(55,180,50,50);
ellipse(147,180,50,50);
rect(55,190,48,20);
rect(147,190,48,20);
fill(245,228,185);
ellipse(100,160,40,20);

//eyes
stroke(0);
strokeWeight(2);
fill(255);
ellipse(78,100,20,20);
ellipse(120,100,20,20);

//pupils
stroke(20,121,119);
fill(46,147,144);
ellipse(78,100,10,10);
ellipse(120,100,10,10);
stroke(0);
fill(0);
ellipse(78,100,5,5);
ellipse(120,100,5,5);

//eyelids
noStroke();
fill(245,228,185);
rect(78,91,20,5);
rect(120,91,20,5);
stroke(0);
line(69,95,85,95);
line(111,95,128,95);

//nose
noStroke();
fill(220,200,180);
triangle(93,125,107,125,100,110);
fill(245,228,185);
triangle(93,123,100,120,100,110);

//mouth
fill(240,99,118);
ellipse(100,133,20,10);
fill(245,228,185);
ellipse(100,130,20,5);

//bangs
noStroke();
fill(20,193,180);
rect(100,70,90,40);

//forehead
fill(245,228,185);
triangle(56,90,90,90,70,60);

//eyebrows
stroke(0);
strokeWeight(2);
line(65,87,75,87);
line(75,87,85,90);