Lernpfad:Einführung in Processing/12: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 57: Zeile 57:
void draw() {
void draw() {
   background(0,150,255);
   background(0,150,255);
  image(eimer, mouseX-25, 530, 50, 50);
    
    
   image(tropfen, random(50, 350), random(50, 300), 50, 50);
   image(tropfen, random(50, 350), random(50, 300), 21.35, 30);
   image(tropfen, random(50, 350), random(50, 300), 50, 50);
   image(tropfen, random(50, 350), random(50, 300), 21.35, 30);
   image(tropfen, random(50, 350), random(50, 450), 50, 50);
   image(tropfen, random(50, 350), random(50, 450), 21.35, 30);
    
    
  image(eimer, mouseX, 530, 50, 50);
}
}
</syntaxhighlight>
</syntaxhighlight>