topical media & game development

talk show tell print

graphic-processing-algorithm-Ch01-p30b-p30b.pde / pde



  size(500,400);
  int x = 100;
  int y = 200;
  int nrects2 = 12;
  for(int i=0; i<nrects2; i++)
    rect(x+(i*10),y,10,50);
  x = 300;
  y = 200;
  int nrects3 = 18;
  for(int i=0; i<nrects3; i++)
    rect(x+(i*10),y,10,50);
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.