Einblick in die generative Gestaltung mit «Processing»

Sechs Kursabende à vier Stunden an der EB Zürich

Kurskonzeption und Leitung Hanna Züllig


< back

						/*
Autor: Ruth Christen
Kurs: Einblick in die generative Gestaltung mit processing ip971311
Kursleitung: Hanna Zuellig
Veroeffentlicht unter der creative common license Attribution-NonCommercial-ShareAlike
CC BY-NC-SA  http://creativecommons.org/licenses/
*/
size(800,800);
background(255);

smooth();
noStroke();

for(int y=0; y<=height; y+=40) {
  for(int x=0; x<=width; x+=40) {
    fill(0, 140);
    ellipse(x, y, 40, 40); 
   }
}

for(int y=0; y<=height; y+=60) {
  for(int x=0; x<=width; x+=60) {
    fill(0, 100);
    ellipse(x, y, 20, 20); 
   }
}

for(int y=0; y<=height; y+=100) {
  for(int x=0; x<=width; x+=100) {
      fill(0, 150);
      ellipse(x, y, 30, 50); 
   }
}

for(int y=0; y<=height; y+=100) {
  for(int x=0; x<=width; x+=100) {
      fill(255, 100);
      ellipse(x, y, 60, 20); 
   }
}