xxxxxxxxxx
35
let robot = 130;
let alien = 90;
let ghost = 70;
function setup() {
createCanvas(400, 400);
}
function draw() {
background('lavender');
strokeWeight(10);
//ROBOT
stroke('mediumpurple');
line(0, 100, robot,100);
// text
textSize(robot/2);
text('🤖',robot + 10, 100);
//ALIEN
stroke('indigo');
line(0,200,alien, 200);
// text
textSize(alien/2);
text('👾',alien + 10, 200);
//GHOST
stroke('magenta');
line(0,300,ghost, 300);
// text
textSize(ghost/2);
text('👻',alien + 10,300);
}