Computes 3-Dimesional Simplex noise.
If you want to use this class you really have to know what you're doing ;)
You could generate a smooth animation of 2D noises for exmaple ;)
343536373839404142
float t2 = t*t; return 3 * t2 - 2 * t2 * t; } }; SimplexNoise3 noise = new SimplexNoise3(width, height, depth, 5, rand, interp); Noise3GifGenerator.gen(noise, width, height, depth); }
242526272829303132
float t2 = t * t; return 3 * t2 - 2 * t2 * t; } }; SimplexNoiseLazy3 noise = new SimplexNoiseLazy3(new FastRand().randLong(), 6, 2, interp); Noise3GifGenerator.gen(noise, width, height, 64); }