neu ordnen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user