neu ordnen

This commit is contained in:
2023-09-25 17:53:38 +02:00
parent 0a6571ccba
commit 5870c6ba9c
22 changed files with 135 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
void setup() {
size(200, 200);
background(255);
}
void draw() {
background(255);
// first line to center
line(mouseX, mouseY,
200/2, 200/2);
// second line from center
line(200/2, 200/2,
100+100-mouseX, 100+100-mouseY);
}