Vuo  0.7.0

## Functions

static VuoReal grad1d (int hash, VuoReal x)
Returns pseudo-random gradient value for given 1d point.

static VuoReal grad2dPerlin (int hash, VuoReal x, VuoReal y)
Returns pseudo-random gradient value for given 2d point for the Perlin algorithm.

static VuoReal grad2dSimplex (int hash, VuoReal x, VuoReal y)
Returns a pseudo-random gradient value for given 2d point for the Simplex algorithm.

static VuoReal grad3d (int hash, VuoReal x, VuoReal y, VuoReal z)
Returns pseudo-random gradient value for given 3d point.

static VuoReal grad4dPerlin (int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal w)
Returns pseudo-random gradient value for given 4d point for Perlin noise.

static VuoReal grad4dSimplex (int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal t)
Returns pseudo-random gradient value for given 4d point for Simplex noise.

Returns the value of the fade function of t.

static VuoReal lerp (VuoReal t, VuoReal a, VuoReal b)
Performs and returns linear interpolation on t, a, and b.

Returns the value for Perlin noise at a 1D location.

Returns the value for Perlin noise at a 2D location.

Returns the value for Perlin noise at a 3D location.

Returns the value for Perlin noise at a 4D location.

Returns the value for Simplex noise at a 1D location.

Returns the value for Simplex noise at a 2D location.

Returns the value for Simplex noise at a 3D location.

Returns the value for Simplex noise at a 4D location.

## Variables

static unsigned char perm []
Perlin's shuffled ordering of 0..255, repeated once.

static unsigned char simplex [64][4]
Lookup table for simplex traversal.

## Function Documentation

 static VuoReal fade ( VuoReal t )
inlinestatic

Returns the value of the fade function of t.

 static VuoReal grad1d ( int hash, VuoReal x )
inlinestatic

Returns pseudo-random gradient value for given 1d point.

 static VuoReal grad2dPerlin ( int hash, VuoReal x, VuoReal y )
inlinestatic

Returns pseudo-random gradient value for given 2d point for the Perlin algorithm.

 static VuoReal grad2dSimplex ( int hash, VuoReal x, VuoReal y )
inlinestatic

Returns a pseudo-random gradient value for given 2d point for the Simplex algorithm.

 static VuoReal grad3d ( int hash, VuoReal x, VuoReal y, VuoReal z )
inlinestatic

Returns pseudo-random gradient value for given 3d point.

 static VuoReal grad4dPerlin ( int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal w )
inlinestatic

Returns pseudo-random gradient value for given 4d point for Perlin noise.

 static VuoReal grad4dSimplex ( int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal t )
inlinestatic

Returns pseudo-random gradient value for given 4d point for Simplex noise.

 static VuoReal lerp ( VuoReal t, VuoReal a, VuoReal b )
inlinestatic

Performs and returns linear interpolation on t, a, and b.

 VuoReal VuoGradientNoise_perlin_VuoPoint2d ( VuoPoint2d point )

Returns the value for Perlin noise at a 2D location.

 VuoReal VuoGradientNoise_perlin_VuoPoint3d ( VuoPoint3d point )

Returns the value for Perlin noise at a 3D location.

 VuoReal VuoGradientNoise_perlin_VuoPoint4d ( VuoPoint4d point )

Returns the value for Perlin noise at a 4D location.

 VuoReal VuoGradientNoise_perlin_VuoReal ( VuoReal x )

Returns the value for Perlin noise at a 1D location.

 VuoReal VuoGradientNoise_simplex_VuoPoint2d ( VuoPoint2d point )

Returns the value for Simplex noise at a 2D location.

 VuoReal VuoGradientNoise_simplex_VuoPoint3d ( VuoPoint3d point )

Returns the value for Simplex noise at a 3D location.

 VuoReal VuoGradientNoise_simplex_VuoPoint4d ( VuoPoint4d point )

Returns the value for Simplex noise at a 4D location.

 VuoReal VuoGradientNoise_simplex_VuoReal ( VuoReal x )

Returns the value for Simplex noise at a 1D location.

## Variable Documentation

 unsigned char perm[]
static

Perlin's shuffled ordering of 0..255, repeated once.

 unsigned char simplex[64][4]
static
Initial value:
=
{
{0,1,2,3},{0,1,3,2},{0,0,0,0},{0,2,3,1},{0,0,0,0},{0,0,0,0},{0,0,0,0},{1,2,3,0},
{0,2,1,3},{0,0,0,0},{0,3,1,2},{0,3,2,1},{0,0,0,0},{0,0,0,0},{0,0,0,0},{1,3,2,0},
{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},
{1,2,0,3},{0,0,0,0},{1,3,0,2},{0,0,0,0},{0,0,0,0},{0,0,0,0},{2,3,0,1},{2,3,1,0},
{1,0,2,3},{1,0,3,2},{0,0,0,0},{0,0,0,0},{0,0,0,0},{2,0,3,1},{0,0,0,0},{2,1,3,0},
{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0},
{2,0,1,3},{0,0,0,0},{0,0,0,0},{0,0,0,0},{3,0,1,2},{3,0,2,1},{0,0,0,0},{3,1,2,0},
{2,1,0,3},{0,0,0,0},{0,0,0,0},{0,0,0,0},{3,1,0,2},{0,0,0,0},{3,2,0,1},{3,2,1,0}
}

Lookup table for simplex traversal.