xxxxxxxxxx
function setup() {
createCanvas(750, 750);
background(0);
}
function draw() {
stroke(106,28,164,20);
noFill();
//fill(106,28,164,10);
translate(mouseX, mouseY);
rotate(millis()/1000);
rectMode(CORNER);
rect(0, 0,150, 150);
//line(0, 0, mouseX, mouseY);
//circle(0, 0, 100); // position x, y, diameter
}