/* built with Studio Sketchpad: * https://sketchpad.cc * * observe the evolution of this sketch: * https://bard117s14.sketchpad.cc/sp/pad/view/ro.uan1vflbxaf/rev.9 * * authors: * Lauren Harris * license (unless otherwise specified): * creative commons attribution-share alike 3.0 license. * https://creativecommons.org/licenses/by-sa/3.0/ */ /* Lauren Harris 02/03/14 [email protected] self-portrait In this sketch I was trying to accomplish using code to create an image of myself. The form of the running program is more pictorial than the code--it is an image-- while the code is more textual, comprised of leters, numbers and symbols. However, both the code and the running program is visually interesting in distinct ways. Additionally, each is comprised of symbols: the code literally and the running program, being so primitive in composition, relies on the basic symbols of ellipses and rectangles to create the image of a face. */ background(8, 255, 236); size(400, 600); //face fill(255, 233, 173); ellipse(200, 300, 275, 350); //eyes fill(255); ellipse(150, 300, 75, 50); ellipse(250, 300, 75, 50); //iris fill(#392C09); ellipse(150, 300, 20, 20); ellipse(250, 300, 20, 20); //mouth fill(#E339CF); ellipse(200, 400, 100, 50); //hair fill(#503504); rect(20, 175, 75, 375); rect(300, 175, 75, 375); rect(20, 100, 355, 95); //brows rect(110, 250, 75, 10); rect(215, 250, 75, 10); //nose fill(0); ellipse(188, 350, 10, 10); ellipse(212, 350, 10, 10);