Table of Contents

Class Noise2d

Namespace
HelixToolkit
Assembly
HelixToolkit.dll

Implements improved Perlin noise in 2D. Transcribed from http://www.siafoo.net/snippet/144?nolinenos#perlin2003 From StackOverflow: https://stackoverflow.com/questions/8659351/2d-perlin-noise

public static class Noise2d
Inheritance
Noise2d
Inherited Members

Methods

GenerateNoiseMap(int, int, int, out float[])

public static void GenerateNoiseMap(int width, int height, int octaves, out float[] result)

Parameters

width int

The width.

height int

The height.

octaves int

The octaves.

result float[]

The result.

Noise(float, float)

Noises the specified x.

public static float Noise(float x, float y)

Parameters

x float

The x.

y float

The y.

Returns

float

Reseed()

generate a new permutation.

public static void Reseed()