GMU:Actors, Traces, Collectives/SS17/Kariert: Difference between revisions

From Medien Wiki
(Created page with "<syntaxhighlight lang="javaScript"> void setup(){ size(600,600); frameRate(100); } void draw(){ background(255); stroke(1); for(int i = 50; i < width; i = i...")
(No difference)

Revision as of 06:27, 10 June 2017

void setup(){
   size(600,600);
   frameRate(100);
  }

void draw(){
   background(255);
   stroke(1);
   for(int i = 50; i < width; i = i+50){
      line(i,0,i,height);
     }
   for(int i = 50; i < height; i = i+50){
      line(width,i,0,i);
   }
  }