done renaming
This commit is contained in:
8
Lektion 1/Datentypen/Halbe_Pixel/Halbe_Pixel.pde
Normal file
8
Lektion 1/Datentypen/Halbe_Pixel/Halbe_Pixel.pde
Normal file
@@ -0,0 +1,8 @@
|
||||
// Der Kreis wandert alleine nach rechts
|
||||
float x = 0;
|
||||
|
||||
void draw() {
|
||||
background(255);
|
||||
x+=0.5;
|
||||
ellipse(x, 50, 30, 30);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
void draw() {
|
||||
frameRate(10);
|
||||
println("x=" + mouseX + " y=" + mouseX);
|
||||
}
|
||||
11
Lektion 1/Datentypen/Zeichenverkettung/Zeichenverkettung.pde
Normal file
11
Lektion 1/Datentypen/Zeichenverkettung/Zeichenverkettung.pde
Normal file
@@ -0,0 +1,11 @@
|
||||
String message = "la";
|
||||
|
||||
void setup() {
|
||||
size(800, 600);
|
||||
}
|
||||
|
||||
void draw() {
|
||||
frameRate(10);
|
||||
println(message);
|
||||
message += " la";
|
||||
}
|
||||
Reference in New Issue
Block a user