topical media & game development

talk show tell print

graphic-processing-algorithm-Ch08-p200-b-p200-b.pde / pde



  size(500,500, P3D); //setup the screen
  camera(-20,20,-20,0,0,0,0,0,1); //get a viewpoint
  for(int x=-10; x<10; x++) //loop in three directions
    for(int y=-10; y<10; y++)
      for(int z=-10; z<10; z++)
        point(x,y,z);
  


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