xxxxxxxxxx
57
function setup() {
createCanvas(400, 400);
frameRate(1);
}
function draw() {
noStroke();
let a = random(50, 20);
let a2 = random(50, 100);
let b = random(240, 150);
let c = random(250, 300);
let d = random(300, 350);
let e = random(70, 100);
let f = random(50, 120);
let h = random(30, 5);
let j = random(50, 120);
let k = random(30, 5);
let eye = random(70, 200);
let eye2 = random(70, 150);
let eye3 = random(150, 200);
let x = random(0, 150);
let y = random(100, 130);
let z = random(20, 70);
let h1 = random(230, 260);
let h2 = random(50, 70);
let h3 = random(60, 100);
// let i=random(30,10
background(a2, x, b);
//head
fill(200, 170, 120);
ellipse(200, 200, c, d);
fill(255, 255, 255);
ellipse(150, 150, e, f);
fill(255, 255, 255);
ellipse(250, 150, e, f);
fill(30, eye2, eye);
ellipse(250, 150, h, h);
fill(30, eye2, eye);
ellipse(150, 150, h, h);
//mouth
fill(x, 0, 0);
rect(b, 240, a2, a, 10);
//nose
//hair
fill(y, z, 0);
ellipse(h1, h2, h1, h3);
}