inicio sindicaci;ón

Aufgabe 3

Aufgabe 3, Bild 1Aufgabe 3, Bild 2Aufgabe 3, Bild 3

size(600,400);
background(0);

smooth();
strokeWeight(1);
strokeCap(SQUARE);

for(int i=0; i<(width*2); i++) {
int x = i;
if (x>width) {
x = width;
}
int y = (width*2)-i;
if (y>width) {
y = width;
}
float r = random(0, 50);
stroke(r);
line(0, 0, x, y);
}

stroke(255);

/* Motiv 1
for(int i=0; i
line(i/4+i,(i/2)+150,(i*i)/width+i,(i*i)/height+i);
}
*/
/* Motiv 2
for(int i=0; i
line(i,(i/2)+150,(i*i)/width,height-i);
}
*/
/* Motiv 3
for(int i=100; i
line(i,(i/2)+250,width-(i/1.5)-50,height-i);
}
*/

Leave a Comment