size(100,100, P3D); camera(-100,100,-100,0,0,0,0,0,1); for(int x=0; x<3; x++){ pushMatrix(); translate(x*60, 0, 0); box(40); popMatrix(); }