topical media & game development

talk show tell print

graphic-processing-algorithm-Appendix-p322-p21-p322-p21.pde / pde



  noFill();
  size(300,300);
  for(int i=1; i<20; i++){
    pushMatrix();
    translate(width/2,height/2);
    rotate(radians(i*45));
    scale(1./i,1./i);
    rect(0,0, 100,100);
    popMatrix();
  }
  


(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.