Searched refs:noiseProfile (Results 1 – 1 of 1) sorted by relevance
6278 var noiseProfile = { generator: undef, octaves: 4, fallout: 0.5, seed: undef}; class6281 if(noiseProfile.generator === undef) {6283 noiseProfile.generator = new PerlinNoise(noiseProfile.seed);6285 var generator = noiseProfile.generator;6287 for(var i=0; i<noiseProfile.octaves; ++i) {6288 effect *= noiseProfile.fallout;6303 noiseProfile.octaves = octaves;6305 noiseProfile.fallout = fallout;6310 noiseProfile.seed = seed;6311 noiseProfile.generator = undef;