/* built with Studio Sketchpad: * https://sketchpad.cc * * observe the evolution of this sketch: * https://bard117s14.sketchpad.cc/sp/pad/view/ro.u$5Opu0FK2d/rev.2 * * authors: * Paula Van Erven * license (unless otherwise specified): * creative commons attribution-share alike 3.0 license. * https://creativecommons.org/licenses/by-sa/3.0/ */ /* Self-Portrait I Paula Van Erven 02/02/14 [email protected] Description: For this assignment, I focused on learning about relative coordinate placement, the necessary organization of the coding, and the application of color. I came across the issue of not knowing how to color into shapes that were formed by being enclosed by individual lines, as opposed the shapes that were formed by already set codes, such as ellipse() and rect(), which I was able to fill in with color.*/ size(800, 800); background(147,203,132); //head fill(245,218,185); ellipse(300, 300, 200, 300); //eyebrows rectMode(CENTER); fill(93,75,53); rect(350,250, 45, 5); rect(250, 250, 45, 5); //eyes fill(255); ellipse(250, 270, 30, 10); fill(57,38,14); ellipse(250, 270, 15, 7); fill(255); ellipse(350, 270, 30, 10); fill(57,38,14); ellipse(350, 270, 15, 7); //nose fill(245,225,200); rect(300,300,10,30); //nostrils fill(232,203,169); ellipse(310,310, 5, 10); ellipse(290, 310, 5, 10); //top of nose fill(242,228,210); ellipse(300,310,10, 14); //line eyebrow to nose line(295,290,270,247); //line nose to mouth line(305,310, 285, 350); //mouth fill(229,133,88); ellipse(285,350,20,10); ellipse(300,350,20,10); ellipse(292,355, 20, 10); line(300, 358, 320, 350); //hair fill(95,63,12); line(300, 150, 400, 300); line(320, 450, 400, 300); line(300, 150, 200,300); ellipse(400, 350, 40, 40); ellipse(400, 390, 40, 50); ellipse(380, 400, 30,30); ellipse(420, 400,30,40); ellipse(360, 420, 30, 40); ellipse(385, 435, 50,50); ellipse(340, 450, 45, 55); ellipse(360, 475, 50,65); ellipse(393, 475, 50,70); ellipse(410, 490, 50,50); ellipse(355, 500, 40, 55); ellipse(335, 515, 35, 60); //neck fill(245,218,185); line(270, 442, 230, 500); line(230, 500, 320, 500);