neu ordnen
This commit is contained in:
13
Lektion 1/Interaktion/Linie und Kreis/Linie und Kreis.pde
Normal file
13
Lektion 1/Interaktion/Linie und Kreis/Linie und Kreis.pde
Normal file
@@ -0,0 +1,13 @@
|
||||
void setup() {
|
||||
size(200, 200);
|
||||
}
|
||||
void draw() {
|
||||
background(200);
|
||||
|
||||
// y-line
|
||||
line(mouseX, 0, mouseX, mouseY);
|
||||
line(mouseX, mouseY, mouseX, 200);
|
||||
|
||||
// kreis
|
||||
ellipse(mouseX/2, 200/2, mouseX, mouseX);
|
||||
}
|
||||
Reference in New Issue
Block a user