topical media & game development
graphic-processing-algorithm-Appendix-p323-p23-p323-p23.pde / pde
noFill();
size(500,500);
background(255);
for(int i=0; i<20; i++){
pushMatrix();
translate(width/2,height/2);
rotate(radians(i*90));
scale(1./pow(2,i),1./pow(2,i));
rect(0,0, 200,100);
line(0,0,200,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.