xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background('#150851');
//noCursor();
noFill();
stroke(255);
}
function draw() {
translate(mouseX, mouseY);
angleMode(DEGREES);
rectMode(CENTER);
rotate(degrees(frameCount));
rect(0, 0, 100, 100);
if(mouseIsPressed)
//translate(mouseX, mouseY);
strokeWeight(3);
}
function mousePressed() {
ellipse(0,0,200,200)
}