volume.closeSides();
long t0 = System.nanoTime();
// store in IsoSurface and compute surface mesh for the given threshold
// value
mesh = new TriangleMesh("iso", 4000000, 12000000);
surface = new HashIsoSurface(volume, 0.33f);
// surface.reset();
surface.computeSurfaceMesh(mesh, ISO_THRESHOLD);
float timeTaken = (System.nanoTime() - t0) * 1e-6f;
println(timeTaken + "ms to compute " + mesh.getNumFaces() + " faces");
mesh.saveAsSTL(sketchPath("noise.stl"));