Update changed folder name

This commit is contained in:
Lev
2021-04-17 22:45:04 -05:00
parent 6f22e91f99
commit 997677b12a
5 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,21 @@
function setup() {
createCanvas(900, 600);
background(0);
}
function draw()
{
background(125);
let mouse = createVector(mouseX, mouseY);
let center = createVector(width/2, height/2);
mouse.sub(center);
//mouse.mult(0.5);
mouse.div(2);
translate(width/2, height/2);
strokeWeight(3);
line(0, 0, mouse.x, mouse.y);
}