|
|
Zeile 1: |
Zeile 1: |
− | int Blume = 100;
| |
| | | |
− | int Gras = 0;
| |
− |
| |
− | void setup() {
| |
− |
| |
− | size(screen.width,screen.height);
| |
− | background(150,150,255);
| |
− | smooth();
| |
− |
| |
− | }
| |
− |
| |
− | void draw() {
| |
− |
| |
− | stroke(0,255,0);
| |
− | strokeWeight(5);
| |
− | line(Gras,screen.height-200,Gras,screen.height);
| |
− | stroke(0,200,0);
| |
− |
| |
− | strokeWeight(10); //Blume
| |
− | line(Blume,screen.height-400,Blume,screen.height); //Blume
| |
− | strokeWeight(50); //Blume
| |
− | point(Blume-15,screen.height-250); //Blume
| |
− | point(Blume+15,screen.height-250); //Blume
| |
− | stroke(255,255,0); //Blume
| |
− | strokeWeight(20); //Blume
| |
− | point(Blume-15,screen.height-415); //Blume
| |
− | point(Blume,screen.height-415); //Blume
| |
− | point(Blume+15,screen.height-415); //Blume
| |
− | point(Blume+15,screen.height-400); //Blume
| |
− | point(Blume+15,screen.height-385); //Blume
| |
− | point(Blume,screen.height-385); //Blume
| |
− | point(Blume-15,screen.height-385); //Blume
| |
− | point(Blume-15,screen.height-400); //Blume
| |
− | stroke(85,45,15); //Blume
| |
− | strokeWeight(30); //Blume
| |
− | point(Blume,screen.height-400); //Blume
| |
− |
| |
− | stroke(255,255,0); //Sonne
| |
− | strokeWeight(500); //Sonne
| |
− | point(0,0); //Sonne
| |
− |
| |
− | stroke(255); //Wolke
| |
− | strokeWeight(100); //Wolke
| |
− | point(500,200); //Wolke
| |
− | point(550,200); //Wolke
| |
− | point(600,200); //Wolke
| |
− | point(650,200); //Wolke
| |
− | point(700,200); //Wolke
| |
− | point(500,250); //Wolke
| |
− | point(550,250); //Wolke
| |
− | point(600,250); //Wolke
| |
− | point(650,250); //Wolke
| |
− | point(700,250); //Wolke
| |
− |
| |
− | Blume = Blume + 100;
| |
− | Gras = Gras + 10;
| |
− |
| |
− | }
| |