xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background(0);
}
function draw() {
stroke(255, 255, 255,30);
//noFill();
fill(255, 255, 255,10);
triangle(mouseX, mouseY, 0.5*mouseX+mouseY, 0.5*mouseY+mouseX,0.5*windowWidth, 0.5*windowHeight);
}