xxxxxxxxxx
19
let scaleamount = 10;
function setup() {
createCanvas(400, 400);
textAlign(CENTER, CENTER);
textSize(10);
textFont("a Black Lives");
}
function draw() {
background(255, 90);
translate(width / 2, height / 2);
let scaleHeight = map(mouseY, 0, height, 2, 20);
scale(10, scaleHeight);
text("SQUISH", 0, 0);
}
function mouseClicked() {
saveGif("words", 5);
}