xxxxxxxxxx
45
let a = 255;
let lolli = "lollipop";
function setup() {
createCanvas(400, 400);
frameRate(5);
}
function draw() {
background(220);
let r = random(30, 80);
let r1 = random(20, 90);
noStroke();
//cheek
let cheekW = random(8,200);
let cheekH = random(200,250);
fill(255,204,153); //fill(r,g,b,alpha)
ellipse(width / 2, height / 2, cheekW, cheekH);
//eye
let eyeW = random(20,10);
let eyeH = random(20,40);
fill(0,0,0);
ellipse(170, 170, eyeW, eyeH);
fill(0,0,0);
ellipse(240, 170, eyeW, eyeH);
//nose
let noseW = random(20,10);
let noseH = random(20,40);
fill(176, 70, 9);
ellipse(200,200,noseW,noseH);
}