Noise
Noise copied to clipboard
Erratic values generated
While testing the noise generator (kenperlin.PerlinNoise) further I found that values below -255 and above 255 yield erratic noise values. This looks like somewhere in the code calculations are done on byte level.
At first glance lines 18, 21, 173, 174 might be candidates for this erratic behaviour. Any idea how to fix it?
Best Regards, Pro