/* built with Studio Sketchpad:
* https://sketchpad.cc
*
* observe the evolution of this sketch:
* https://bard117s14.sketchpad.cc/sp/pad/view/ro.DsA6X0VVIZP/rev.112
*
* authors:
* Jessica Boyd
* license (unless otherwise specified):
* creative commons attribution-share alike 3.0 license.
* https://creativecommons.org/licenses/by-sa/3.0/
*/
float x=0;
float y=0;
void setup () {
size(400, 400);
smooth();
frameRate(10); }
void draw () {
stroke(0);
background(100, 8, 59);
stroke(mouseX, mouseY, 73);
line(300, 200, 0, 360);
line(100, 0, 200, 100);
line(200, 0, 100, 200);
line(50, 100, 50, 100);
line(400, 300, 0, 50);
line(200, 100, 0, 400);
stroke(mouseX, mouseY, 46);
line(200, 0, 300, 400);
line(350, 0, 10, 100);
line(400, 0, 0, 250);
stroke(246, 247, 215);
line(300, 0, 300, 400);
line(400, 0, 200, 100);
line(0, 300, 400, 50);
stroke(2, 7, 124);
line(200, 0, 300, 100);
line(400, 250, 0, 10);
line(200, 250, 400, 400);
stroke(240, 10, 121);
line(200, 10, 350, 0);
line(230, 20, 230, 20);
line(100, 30, 300, 40);
stroke(240, 44, 10);
line(50, 150, 50, 150);
line(40, 400, 40, 400);
//hair
float r=random(100, 85);
float h=random(31, 115);
stroke(h, 50, 200);
fill(h, 50, 200);
float x=random(0, 400);
float y=random(0, 400);
ellipse(200, 225, 250, 300);
//head
stroke(252, 232, 201);
fill(252, 232, 201);
ellipse(200, 200, 200, 200);
//neck
rect(160, 250, 80, 100);
//shoulders
stroke(99, 69, 227);
fill(99, 69, 227);
ellipse(300, 350, 60, 80);
ellipse(100, 350, 60, 80);
rect(80, 324, 241, 104);
//cornea
stroke(203, 113, 39);
fill(237, 251, 252);
ellipse(150, 175, 60, 30);
stroke(203, 113, 39);
fill(237, 251, 252);
ellipse(250, 175, 60, 30);
//irises
stroke(255);
fill(134, 5, 44);
ellipse(150, 175, 30, 30);
stroke(255);
fill(134, 5, 44);
ellipse(250, 175, 30, 30);
//pupils
stroke(r, 50, 46);
fill(r, 80, 193);
fill(mouseX, mouseY, 72);
ellipse(150, 175, 20, 20);
stroke(46);
fill(r, 80, 193);
fill(mouseX, mouseY, 72);
ellipse(250, 175, 20, 20);
//nose
stroke(234, 173, 80);
fill(252, 232, 201);
line(200, 247, 200, 200);
//mouth
stroke(46);
line(220, 267, 190, 267); }
//discards //111, 35, 6 original hair colour //250, 210 1, 17, 72 // pupil fills: (146, 20, 193),1, 17, 72