xxxxxxxxxx
34
function setup() {
createCanvas(400, 400);
textAlign(CENTER, CENTER);
textSize(64);
angleMode(DEGREES);
}
function draw() {
background(220);
background("black")
let shearXAmount = dist(200, 200, mouseX, mouseY)%15
let shearYAmount = 10;
console.log(shearXAmount)
push();
translate(200, 200);
scale(.9);
shearX(shearXAmount);
shearY(shearYAmount)
//rotate(rotateAmount);
fill("grey");
text("SHAKY", 0, 0);
fill("white")
text("SHAKY", -10, 2);
pop();
//circle(400, 400, 50);
}