VEX Dictionary / noise
noise
Smooth Perlin-style noise from a position, centred around 0.5.
group: noisenoise
Available in every context
Usage
float noise(float pos)
vector noise(float pos)
float noise(float posx, float posy)
vector noise(float posx, float posy)
float noise(vector pos)
vector noise(vector pos)
float noise(vector4 pos)
vector noise(vector4 pos)
Examples
// Needs point normals (add a Normal SOP upstream)
float n = noise(@P * chf("freq")) - 0.5;
@P += @N * n * chf("amp");Use cases
- Organic displacement and breakup
- Randomising scale, colour or timing smoothly across space
Signatures (from vcc -X)
float noise(float)all contextsfloat noise(float, float)all contextsfloat noise(vector4)all contextsfloat noise(vector)all contextsvector noise(float)all contextsvector noise(float, float)all contextsvector noise(vector4)all contextsvector noise(vector)all contexts