Vuo  0.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
VuoGradientNoiseCommon.c File Reference

Description

VuoGradientNoiseCommon implementation.

Functions

VuoReal perlinNoise1d (VuoReal x)
 Returns the value for Perlin noise at a 1d location.
 
VuoReal perlinNoise2d (VuoReal x, VuoReal y)
 Returns the value for Perlin noise at a 2d location.
 
VuoReal perlinNoise3d (VuoReal x, VuoReal y, VuoReal z)
 Returns the value for Perlin noise at a 3d location.
 
VuoReal perlinNoise4d (VuoReal x, VuoReal y, VuoReal z, VuoReal w)
 Returns the value for Perlin noise at a 4d location.
 
VuoReal simplexNoise1d (VuoReal x)
 Returns the value for Simplex noise at a 1d location.
 
VuoReal simplexNoise2d (VuoReal x, VuoReal y)
 Returns the value for Simplex noise at a 2d location.
 
VuoReal simplexNoise3d (VuoReal x, VuoReal y, VuoReal z)
 Returns the value for Simplex noise at a 3d location.
 
VuoReal simplexNoise4d (VuoReal x, VuoReal y, VuoReal z, VuoReal w)
 Returns the value for Simplex noise at a 4d location.
 
VuoReal grad1d (int hash, VuoReal x)
 Returns pseudo-random gradient value for given 1d point.
 
VuoReal grad2d (int hash, VuoReal x, VuoReal y)
 Returns pseudo-random gradient value for given 2d point.
 
VuoReal grad3d (int hash, VuoReal x, VuoReal y, VuoReal z)
 Returns pseudo-random gradient value for given 3d point.
 
VuoReal grad4d (int hash, VuoReal x, VuoReal y, VuoReal z, VuoReal t)
 Returns pseudo-random gradient value for given 4d point.
 
VuoInteger fastFloor (VuoReal x)
 Returns the floor of x.
 
VuoReal fade (VuoReal t)
 Returns the value of the fade function of t.
 
VuoReal lerp (VuoReal t, VuoReal a, VuoReal b)
 Performs and returns linear interpolation on t, a, and b.