xxxxxxxxxx
let i = 0
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
//ears
stroke(0)
fill(255, 200, 191)
ellipse(340,170,60,150)
ellipse(390,160,60,150)
//innerears
stroke(0)
fill(255)
ellipse(340,190,40,150)
ellipse(390,180,40,150)
//headshape
noStroke()
fill(255, 200, 191)
rect(165, 220, 265, 300, 70);
ellipse(320,265,220,250)
//eyes
stroke(0)
fill(255)
circle(290,195,45)
circle(340,195,45)
//eyeballs
stroke(0)
fill(0)
circle(290,195,10)
circle(340,195,10)
//shirt
stroke(0)
fill(245, 224, 191)
rect(165, 320, 265, 200)
//arms
stroke(0)
fill(245, 224, 191)
ellipse(190,370,75,170)
ellipse(400,370,75,170)
//arm cuffs
strokeWeight(5);
stroke(0)
line(154, 380, 225, 380)
line(365, 380, 436, 380)
//tie
strokeWeight(1);
stroke(0)
fill(68, 60, 194)
ellipse(285,360,8,70)
fill(29, 22, 135)
triangle(275, 320, 285, 340, 295, 320);
//nose
strokeWeight(1);
stroke(0)
fill(250, 145, 208)
ellipse(310,223,30,15)
//line(305, 223, 315, 223);
//eyebrows
stroke(0)
fill(0)
rect(270, 170, 40, 10, 20);
rect(320, 170, 40, 10, 20);
//eyelashes
stroke(0)
fill(0)
rect(270, 170, 40, 10, 20);
rect(320, 170, 40, 10, 20);
//mouth
stroke(0)
fill(237, 109, 126)
rect(250, 240, 70, 60, 80);
//teeth
stroke(0)
fill(255)
rect(260, 240, 50, 30, 80, 80, 80, 80);
line(285, 240, 285, 270);
text('im stuck in this sketch... help.', 70, 30);
i = 0;
while(i < 200){
fill(250, 175, 152)
rect(50,random(400),20) // stars
fill(247, 202, 156)
rect(100,random(400),20) // stars
fill(247, 223, 151)
rect(150,random(400),20) // stars
fill(250, 247, 150)
rect(200,random(400),20) // stars
fill(223, 250, 147)
rect(250,random(400),20) // stars
fill(147, 250, 211)
rect(300,random(400),20) // stars
fill(147, 185, 250)
rect(350,random(400),20) // stars
fill(219, 162, 250)
rect(400,random(400),20) // stars
//fill(219, 162, 250)
// rect(400,random(400),20) // stars
i++;
}
// for(let i = 0;i < 300 ; i++){
// ellipse(random(400),random(400),2)
// }
}