Big update: no Limitation on color number now. anywhere from 2-10 is automatic, any more than 10 colors, Input an array.
backwards compatible with old version.
Enjoy!
Updated: makeGradient()
版本注释
⋅
v3
HSV gradient UPGRADE.. MUCH nicer fades.
版本注释
⋅
v4 Bump library imports, removed demo from code for faster loading, also, hsl option mode (for larger arrays or fewer colors suggested..)
Updated: makeGradient()
版本注释
⋅
v5
bumped import to latest
版本注释
⋅
v6
special tool for double gradients based off of being above/below threshold. neutral point, first level, second level, then when it' peaks at ath or atl.
Added: fade(_src, _mid, _colsin, _th, _thmax) Multiple Color Fader (Negative Limit, Negative strong, Negative mild, neutral, Positive mild, Positive strong, Positive limit) Parameters: _src: (float ) input value to follow _mid: (float ) midpoint ( 0 for osc) _colsin: (color[] ) colors to generate the fades _th: (float ) 0-1,threshold to first level _thmax: (float ) 0-1,threshold to second level Returns: color output
版本注释
⋅
v7
Fixed problem on Fade, added Focus, Give itt a try :)
Updated: fade(_source, _mid, _colsin, _th, _thmax) Multiple Color Fader (Negative Limit, Negative strong, Negative mild, neutral, Positive mild, Positive strong, Positive limit) Parameters: _source: (float ) input value to follow _mid: (float ) midpoint ( 0 for osc) _colsin: (color[] ) colors to generate the fades _th: (float ) 0-1,threshold to first level _thmax: (float ) 0-1,threshold to second level Returns: color output