Noise

Utility functions related to noise.

Constructor

new L3D.Noise()

Methods

static perlinNoise2(x, y)

2D perlin noise function.

Parameters
x *
y *

static perlinNoise3(x, y, z)

3D perlin noise function

Parameters
x *
y *
z *

static turbulence(x, y, z, frequency)

A simple turbulence model, accumulating noise over the given number of frequencies.

Parameters
x *
y *
z *
frequency *

fbm(x, y, z, octaves, H, lacunarity)

fractal brownian motion noise.

Parameters
x *
y *
z *
octaves *
H *
lacunarity *

perlinNoise2(x, y)

2D perlin noise function

Parameters
x *
y *

perlinNoise3(x, y, z)

3D perlin noise function

Parameters
x *
y *
z *

turbulence(x, y, z, frequency)

A simple turbulence model, accumulating noise over the given number of frequencies.

Parameters
x *
y *
z *
frequency *