xxxxxxxxxx
32
//make an array for each line. have a for loop to draw each one. then to delete just delet [array.legth-1] for undo
let bg_color=0;
let Hello="Mike";
let world="it's femboy friday! :3c"
function setup() {
console.log(Hello, world);
createCanvas(400,400);
stroke(0,255,0);
background(0);//black
}
function draw() {
//smiley(width/2,height/2);
}
function mouseClicked() {
smiley(mouseX,mouseY);
}
function smiley(x, y) {
let spacing = 20;
//kys keep yourself safe
line(x-spacing, y, x-spacing, y+50);//left eye
//right eye
line(x+spacing, y, x+spacing, y+50);
noFill()
arc(x,y+spacing*4,spacing*4,spacing*4,radians(15),radians(180-15),OPEN)
}