p5 Sketch

image.png

function setup() {
  createCanvas(400, 500);
}

function draw() {
  
  background(123,133,255);
  
  //hair,back
  noStroke()
  fill(25,0,200)
  rect(100,190,200,200)
  
  //neck
  fill(229,154,270) //tried to make neck slightly darker than face
  rect(170,220,65,170)
  
  //face
  noStroke();
  brightness(200)
  fill(229,164,243)
  ellipse(200,190,200,250)
  
  
  //eyes
  stroke(1)
  strokeWeight(4)
  fill(255)
  ellipse(160,180,30,20)
  ellipse(220,180,30,20)
  fill(10,21,78)
  ellipse(165,180,15,15)
  ellipse(225,180,15,15)
  noStroke()
  fill(255)
  ellipse(167,180,7,7)
  ellipse(227,180,7,7)
  
//eyebrows
  stroke("black")
  strokeWeight(5)
  line(135,151,145,147)
  line(145,147,178,153) //tried to use rotate here but changed the stroke weight on the eyes
  line(200,151,234,147)
  line(234,147,250,153)
  
//nose
  //i did points and then the triangle
  //point(190,200)
  //point(175,235)
  //point(190,235)
noStroke()
  fill(224,109,220)
  triangle(190,190,165,235,193,235)
  
  //nosering
  noFill()
  strokeWeight(1)
  stroke(30,60,250)
  circle(190,232,15)
  
  //mouth
  noStroke()
  fill(110,90,220)
  ellipse(180,270,25,15)
  ellipse(200,270,25,15)
  ellipse(190,275,37,15)
  stroke("blue")
  strokeWeight(1)
  line(170,273,210,273)
  
  //cheek
  noStroke()
  fill(224,109,220)
  ellipse(237,220,40,20)
  
  //hair,front
  fill(25,0,200)
  //rect(100,130,20,200)
  rect(280,130,20,200)
  
  //ear
  
  fill(229,164,243)
  ellipse(280,200,30,40)
  
  //glasses
  stroke("brown")
  strokeWeight(10)
  noFill()
  rect(123,160,60,40)
  rect(195,160,60,40)
  line(260,180,280,175)
  point(190,180)
  stroke("white")
  strokeWeight(2)
  noFill()
  rect(123,160,60,40)
  rect(195,160,60,40)
  //bangs
  noStroke()
  fill(25,0,200)
  //ellipse(200,130,200,150)
  
  arc(200,140,200,150,-160,0,CHORD) //I struggle with this, don't totally understand it yet
  
  
  
  
  
  
}