function setup(){
createCanvas(1200,300);
background(200);
rectMode(CENTER);
for(leti=0;i<width;i+=150){
let penguinC = int(random(0,160));
let penguinS = random(0.25,0.6);
Penguin(i,150,penguinC,penguinS);
}
}
function draw(){
}
function Penguin(x,y,c,s){
push();
translate(x,y);
scale(s);
noStroke();
fill(255,160,45);
ellipse(-100,225,100,50);
ellipse(100,225,100,50);
fill(c);
ellipse(-150,90,60,235);
ellipse(150,90,60,235);
rect(0,100,300,250);
strock(c);
strockWeight(300);
line(0,-85,0,30);
fill(255);
noStrock();
ellipse(-70,-80,120,120);
ellipse(70,-80,120,120);
ellipse(0,95,200,220);
fill(0);
ellipse(-70,-80,15,15);
ellipse(70,-80,15,15);
noStroke();
fill(255,160,45);
triangle(-15,-50,15,-50,0,-25);
pop();
}
console