> show canvas only <


/* built with Studio Sketchpad: 
 *   https://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   https://bard117f12.sketchpad.cc/sp/pad/view/ro.OZ5mqoz9Zz7/rev.184
 * 
 * authors: 
 *   Dylan Cassidy

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



//This self portrait is different to my design blocks one because it allows for a more thought out and planned process rather than experimenting and trial and error. In terms of the shape of head and facial features they are very similar, but this one has interactivity, text, and just simply looks better. I had a lot more fun using Processing than Design Blocks and I hope we never do again.

void setup()
{
  size(550,550);
}
 
void draw()
{
fill(40,50,100);
noStroke();
ellipse(width/2,275,500,500);
//stroke(2);
//strokeWeight(8);
fill(225);
ellipse(200,height/4,100,100);
ellipse(400,height/4,100,100);

fill(125,20,30);
rect(170,120,40,50);

fill(200,30,70);
rect(163,220,60,40);

fill(125,20,30);
rect(370,120,50,40);

fill(200,30,70);
rect(370,220,60,40);

    
  fill(0);
  float my =  map(mouseY,0,height,50,200);
  ellipse(width/2,height/1.5,my,my);
  
  fill(260,50,40);
   textSize(50);
    text("WHOAH!", 200, 70);
   
   
 
   
   
}