/Gradient_Cables

Primary LanguageHTMLMIT LicenseMIT

Gradient_Cables

Last version preview: https://bbbbbgdn.github.io/Gradient_Cables/009/

Controllable with variables:

CABLES.patch.setVariable('mainColors', ['#FF0000', '#00FF00', '#0000FF', '#000000']) (with easing)

CABLES.patch.setVariable('lightValue', 1) (no easing)

variables

mainColors is array to set 4 main colours in hex values

lightValue to contol levels of lightness in range 0-1, where 0 is full colour, 1 is white, values below 0 gives more intense colour values.

noiseAmount default is 0.04

colorChangeSpeed default is 5 (lower is faster)