xxxxxxxxxx
function setup() {
createCanvas(750, 750);
background(218, 202, 182);
}
function draw() {
translate(mouseX, mouseY);
fill(88, 21, 31);
//rotate(millis()/1);
//smooth();
line(0, 0, 85, 20);
line(0, 0, -85, 20);
//stroke(
rect(0, 0, 80, 100, 200, 200, 10, 10);
rectMode(CENTER);
fill(237, 117, 227);
stroke(255, 255, 255);
scale(0.5);
rotate(millis()/80);
rect(0, 0, 80, 100, 10, 10, 200, 200);
rectMode(CENTER);
//line(0, 0, 85, 20);
}