xxxxxxxxxx
let x = 90;
let y = 270;
let z = 30;
let squareSize;
let circleSize;
let lineWidth= 8;
//Declare Utils as a variable
var utils = new p5.Utils();
function setup() {
createCanvas(600, 600);
squareSize = random(250,290)
circleSize = random(30,60)
utils.enableRuler();
}
//Robot Face
function draw() {
background(225);
//Head
rectMode(CENTER);
strokeWeight(lineWidth);
fill(253, 121, 168);
stroke(232, 67, 147);
square(300,350,squareSize);
//Mouth
fill(9, 132, 227);
rect(296,410,x,z);
//Tentacle
fill(253, 121, 168);
rect(296,165,z,x)
//Eyes
fill(108, 92, 231);
circle(250,y,circleSize);
circle(340,y,z);
}