topical media & game development

talk show tell print

graphic-processing-algorithm-Appendix-p312-1-p312-1.pde / pde



  beginShape();
  for(int i=0; i<20; i++){
    float x = ((i+3)/4) * (((i+1)/2)%2*2-1) *10;
    float y = ((i+2)/4) * (((i)/2)%2*2-1) *10;
    vertex(x+50,y+50);
  }
  endShape();
  


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