topical media & game development

talk show tell print

graphic-processing-algorithm-Appendix-p313-5-p313-5.pde / pde



  size(200,100);
  int step_height = 8;
  int step_width = 10;
  int n_steps = height/step_height;
  for(int i=0; i<n_steps; i++){
    float x = i*step_width;
    float y = -i*step_height;
    rect(x,y+height,step_width,3);
  }
  


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