topical media & game development

talk show tell print

graphic-processing-algorithm-Appendix-p308-x14-p2-p308-x14-p2.pde / pde



  size(300,300);
  float x = 0;
  float y = 0;
  for(int i=0; i<5000; i +=10){
    x += abs(sin(radians(i)))*10.;
    for(int j=0; j<5000; j +=10){
      y += abs(cos(radians(j)))*10.;
      line(0,y,500,y);
    }
    line(x,0,x,500);
  }
  


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