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);
//stroke(255, 255, 255, 100); // r, g, b, alpha
noFill();
//fill(255, 255, 255, 10);
translate(mouseX, mouseY);
rotate(millis ()/100);
ellipseMode(CORNER);
ellipse(0, 0, 60, 120);
rectMode(CORNER);
rect(0, 0, 100, 100);
//point(0, 0);
//square(0, 0, 100, 25);
//rectMode(CORNER);
//line(0, 100, 100, 100);
//point(100, 100);
//strokeWeight(10);
//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);
}