worked on PerlinNoise example