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

Noise() private method

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

            return ( 1.0 - ( ( n * ( n * n * 15731 + 789221 ) + 1376312589 ) & 0x7fffffff ) / 1073741824.0 );
        }
        private double Noise( int x, int y )

Same methods

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