Accord.Math.PerlinNoise.Noise C# (CSharp) Method

Noise() private static method

Ordinary noise function
private static Noise ( int x ) : double
x int
return double
        private static double Noise(int x)
        {
            int n = (x << 13) ^ x;

            return (1.0 - ((n * (n * n * 15731 + 789221) + 1376312589) & 0x7fffffff) / 1073741824.0);
        }

Same methods

PerlinNoise::Noise ( int x, int y ) : double