xxxxxxxxxx
function setup() {
createCanvas(750, 750);
background(0);
}
function draw() {
//background(0, 0, 0);
background(0, 0, 0, 5); // r, g, b, alpha
stroke(255, 255, 255);
noFill();
translate(mouseX, mouseY);
rotate(millis ()/500);
//square(0, 0, 100, 25);
//fill(255, 255, 255);
stroke(255, 255, 255);
ellipse(0, 0, 50, 50);
stroke(150, 43, 255);
//noFill();
square(-50, -50, 100, 25);
square(50, -50, 100, 25);
square(-50, 50, 100, 25);
square(50, 50, 100, 25);
rectMode(CENTER);
//circle(0, 0, 100); // position x, y, diameter
//ellipse(0, 0, 100, 100); // position x, y, width, height
//rect(0, 0, 100, 100); // position x, y, width, height
//line(0, 0, mouseX, mouseY);
}