Version 1.0.0 (2024-12-29): Material ZPG (2019)

This commit is contained in:
Thomas Schaller 2024-12-29 14:06:34 +01:00
parent 7835d8e99a
commit 67d0889188
825 changed files with 391265 additions and 3 deletions

View file

@ -0,0 +1,21 @@
int a = 10;
String name = "Hans";
float[] zufaelle;
void setup(){
size(600,400);
setZufallsArray(10);
veraenderung(); //<>//
}
void setZufallsArray(int anzahl){
zufaelle = new float[anzahl];
for (int i=0; i<anzahl; i++){
zufaelle[i]=random(100);
}
}
void veraenderung(){
a = a + 10;
name = "Hallo "+name;
}

View file

@ -0,0 +1,11 @@
void setup() {
size(200, 100);
}
void draw() {
}
void mousePressed() {
fill(int(random(0, 255)), int(random(0, 255)), int(random(0, 255)));
ellipse(mouseX, mouseY, 10, 10); //<>//
}