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);
point(0, 0);
//circle(0, 0, 100); // position x, y, diameter
//ellipse(0, 0, 100, 100); // position x, y, width, height
rect(0, 0, 50, 100); // position x, y, width, height
line(1, 0, mouseX, mouseY);
}