Sechs Kursabende à vier Stunden an der EB Zürich
Kurskonzeption und Leitung Hanna Züllig
/* Autor: Yves Scherrer Kurs: Einblick in die generative Gestaltung mit processing ip971221 Kursleitung: Hanna Zuellig Veroeffentlicht unter der creative common license Attribution-NonCommercial-ShareAlike CC BY-NC-SA http://creativecommons.org/licenses/ */ void setup(){ size(1000, 1000); background(100,140,200); smooth(); int y = 50; int d = 20; } void draw(){ int d = 10; int d2 = 100; //fill(170,40,200); //ellipse(width/2,height/2,800,800); //grosser Kreis for(int y=0; y<=height; y+=d2){ for(int x=0; x<=width; x+=d2){ noStroke(); fill(80,90,150,100); //Blau ellipse(x,y,d2,d2); //kleine Kreise } //ent inner loop } //end outer loop for(int y=100; y<970; y=y+100){ //outer loop for(int x=100; x<970; x=x+100){ //inner loop stroke(250); line(x,y,400,400); fill(250,250,250,250); //Weiss noStroke(); ellipse(x,y,d,d); //Punkte } //end inner loop } //end outer loop if(keyPressed && key=='s'){ // deaktiviert bei display ueber processing.js saveFrame("yves-####.jpg"); } } //end draw