drawing with javascript ['p5js'] Chao

I made my own cute little chao!

All about my chao

My sonic chao is so cute!

I made more chaos, and one of them winks and one of them makes it's ball bob!

How I made it

I made a bunch of different sized rectangles, like square-like ones and narrow ones.

Then I filled it in with its exact colour.

function setup() {
  createCanvas(200, 200).parent("container");
  background(200, 200, 200);
}


function draw() {
  fill(132, 248, 243)
  rect(10, 50, 60, 60) // head
  rect(30, 110, 20, 30) // body

  fill(246, 247, 2)
  rect(20, 120, 10, 10) // left hand
  rect(50, 120, 10, 10) // right hand
  rect(20, 140, 10, 10) // left foot
  rect(50, 140, 10, 10) // right foot

  fill(246, 247, 2)
  rect(30, 10, 20, 20) // ball
  
  fill(0, 0, 0)
  rect(20, 70, 10, 20) // left eye
  rect(50, 70, 10, 20) // right eye
}