xxxxxxxxxx
57
let robot = 130;
let alien = 90;
let ghost = 70;
function setup() {
createCanvas(400, 400);
}
function draw() {
background('lavender');
//ROBOT
// outer robot
fill('lavender');
stroke('blueviolet');
circle(100,100,robot+20)
// robot bubble
fill('mediumpurple');
noStroke();
circle(100, 100, robot);
// text
textSize(robot/2);
textAlign(CENTER,CENTER);
text('🤖',100, 100);
//ALIEN
// outer alien
fill('lavender');
stroke('indigo');
circle(200,200,alien+20)
// robot bubble
fill('darkorchid');
noStroke();
circle(200, 200, alien);
// text
textSize(alien/2);
textAlign(CENTER,CENTER);
text('👾',200, 200);
//GHOST
// outer ghost
fill('lavender');
stroke('indigo');
circle(300,300,ghost+20)
// robot bubble
fill('plum');
noStroke();
circle(300, 300, ghost);
// text
textSize(ghost/2);
textAlign(CENTER,CENTER);
text('👻',300, 300);
}