Sechs Kursabende à vier Stunden an der EB Zürich
Kurskonzeption und Leitung Hanna Züllig
/* Autor: Monorom 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(400,400); smooth(); ellipseMode(CENTER); frameRate(3); noFill(); } void draw() { if(mousePressed==false){ background(0); }else{ background(255); } int w = 95; for (int y = 0; y <= height; y += 100) { for (int x = 0; x <= width; x += 100) { strokeWeight(random(1,6)); int z = int(random(1,w)); ellipse(x, y, z,z); stroke (random(255),random(255),random(255)); } } if(keyPressed && key=='s'){ // deaktiviert bei display ueber processing.js saveFrame("monorom-####.jpg"); } }