done renaming
This commit is contained in:
15
Lektion 1/Lokale_Variablen/Mitte/Mitte.pde
Normal file
15
Lektion 1/Lokale_Variablen/Mitte/Mitte.pde
Normal file
@@ -0,0 +1,15 @@
|
||||
void setup()
|
||||
{
|
||||
size(800, 600);
|
||||
}
|
||||
void draw()
|
||||
{
|
||||
// Clear Background to prevent shadows
|
||||
background(40, 40, 40, 256);
|
||||
|
||||
|
||||
line(0, 0, mouseX, mouseY);
|
||||
|
||||
circle(mouseX, mouseY, 10);
|
||||
circle(mouseX * .5, mouseY * .5, 10);
|
||||
}
|
||||
Reference in New Issue
Block a user