VEX Dictionary / lkspline
lkspline
Samples a polyline through value and key-position pairs, useful for irregularly-spaced color ramps.
group: interpsplineinterp
Available in every context
Usage
float lkspline( float sample_pos; float value1; float key_pos1; ... )
vector lkspline( float sample_pos; vector value1; float key_pos1; ... )
vector4 lkspline( float sample_pos; vector4 value1; float key_pos1; ... )
Examples
No worked examples yet.
Signatures (from vcc -X)
float lkspline(float, float, float, ...)all contextsvector4 lkspline(float, vector4, float, ...)all contextsvector lkspline(float, vector, float, ...)all contexts