/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://bard117f12.sketchpad.cc/sp/pad/view/ro.AxQv-T8OpAv/rev.2
*
* authors:
* Harrison
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
// http://bard117f12.sketchpad.cc/sp/pad/view/ro.6HrrLDK6MpCGPC/rev.7
/*Harrison Mandell
9/23/12
[email protected]
Self-Portrait II
The main differences between this self-portrait and my DesignBlocks portrait, are that I have opted to go with a 'cartoon' face in place of a 'realistic' one. Giving me the opportunity to implement a wider array of animations, or design characteristics in general.
My use of the frameCount function makes the eyes blink, and the mouth having a tongue stick out, in turn making it much more dynamic than my very one-sided DesignBlocks creation.
While this is not interactive, it is all together much more intricate than my DesignBlocks piece, and utilizes a wider array of shapes and colors.
*/
void setup(){
size(750,750);
smooth();
}
void draw(){
//Eyes
strokeWeight(frameCount % 85);
background(255,200,45);
fill(128,200,200);
rect(75,100,100,100);
rect(575,100,100,100);
//Mouth
strokeWeight(frameCount % 45);
fill(255,128,255);
ellipse(350,550,100,100);
//Nose/Middle Face Features
strokeWeight(12);
line(350,350,400,300);
line(400,300,350,400);
line(350,350,500,200);
line(500,200,250,200);
line(250,200,250,270);
line(250,270,300,290);
line(300,290,350,400);
//Lower Face Highlights
fill(255,200,45);
ellipse(0,600,250,750);
ellipse(750,600,325,750);
}