improvedPerlinNoise.js JavaScript implementation of Improved Perlin Noise Notes explicit switch-case instead of bit-flipping for performance, clarity int() instead of floor() for performance