GMU:Einführung ins Programmieren mit Processing/Seminar: Difference between revisions

From Medien Wiki
Line 478: Line 478:


<math>
<math>
int patternsize = 50;
int patternsize = 50;
int count = 0;
int count = 0;
void setup()
{
  size(800, 600);
  background(255);
  frameRate(30);
}
void draw()
{
  smooth();
  strokeWeight(2);
   for (int ex = 0; ex <= width; ex = ex+patternsize)
   for (int ex = 0; ex <= width; ex = ex+patternsize)
   {
   {
Line 516: Line 505:
     }
     }
   }
   }
}


</math>
</math>