format und variablen

This commit is contained in:
2023-09-26 12:28:28 +02:00
parent 4d84f83ac5
commit c00b7c1e38
10 changed files with 47 additions and 18 deletions

View File

@@ -6,9 +6,7 @@ void draw() {
background(255);
// first line to center
line(mouseX, mouseY,
200/2, 200/2);
line(mouseX, mouseY, 200/2, 200/2);
// second line from center
line(200/2, 200/2,
100+100-mouseX, 100+100-mouseY);
line(200/2, 200/2, 100+100-mouseX, 100+100-mouseY);
}