//unused void noiseField() { pushMatrix(); noiseDetail(6,.7); noiseSeed(100); // translate(width/2,height/2); for (float x=0; x<=10; x++) { for (float y=0; y<=10; y++) { for (float z=0; z<=10; z++) { float n=noise(x/3,y/3,z/3)-.65; if (n>0) { float r=n*25; fill(200,0,n*255); noStroke(); pushMatrix(); translate((x-5)*20,(y-5)*20,(z-5)*20); box(r,r,r); popMatrix(); } } } } popMatrix(); }