function setup() {
createCanvas(500, 500);
background(220);
background('hsl(155, 84%, 86%)');
text("~V's Self-Portrait~", 10, 15);
var a;
noStroke();
a = color('hsl(25, 100%, 86%)');
fill(a);
ellipse(250, 285, 270, 290);
ellipse(385,260,50,70);
ellipse(115,260,50,70);
var b;
noStroke();
b = color('hsl(14, 78%, 76%)');
fill(b);
ellipse(390,265,30,50);
ellipse(110,265,30,50);
triangle(255,331,240,350,220,325);
var c;
noStroke();
c = color('hsl(14, 78%, 85%)');
fill(c);
ellipse(185,335,60,25);
ellipse(315,335,60,25);
var d;
noStroke();
d = color('hsl(62, 100%, 76%)');
fill(d);
quad(145,175,190,175,165,265,125,230);
quad(180,175,215,175,245,260,230,245);
quad(260,175,305,175,315,255,285,235);
quad(315,175,355,175,370,220,335,245);
var e;
noStroke();
e = color('hsl(232, 27%, 43%)');
fill(e);
ellipse(250, 190, 300, 75);
ellipse(210,140,110,150);
ellipse(292,140,110,150);
var f;
noStroke();
f = color('hsl(232, 27%, 27%)');
fill(f);
rect(155,152.5,192,30);
var g;
stroke('hsl(223, 60%, 50%)');
g = color('hsl(0, 100%, 100%)');
fill(g);
ellipse(200,285,80,80);
ellipse(305,285,80,80);
stroke('hsl(0, 0%, 0%)');
arc(250,360,110,70,0,PI,CHORD);
var h;
noStroke();
h = color('hsl(166, 41%, 40%)');
fill(h);
ellipse(200,272,55,55);
ellipse(305,272,55,55);
var i;
noStroke();
i = color('hsl(1, 0%, 0%)');
fill(i);
ellipse(200,260,30,30);
ellipse(305,260,30,30);
var j;
noStroke();
j = color('hsl(29, 51%, 40%)');
fill(j);
ellipse(283,335,10,10);
}
Well, perhaps this is not the most technically-stunning or impressive thing in the universe, but I have to say throughout this project I kept audibly gasping at myself over the very fact that I was actually producing…anything. Literally four days ago I could not even fathom how it was physically possible to make numbers into pretty shapes, so the basic-ness of this project aside /I/ at least am thoroughly impressed with it! It is cute and allowed me to play around with various tools, such as figuring out a good way to choose colors! (I found a website you can kind of test colors out with then take the ‘coordinates'[?] for them and put them into your code here.) I started by drawing a very geometric picture, and writing a quick step-by-step of how I would order and overlap the shapes to get the end product. And I kind of just played around while I was at it!