generateColorRamp
fun generateColorRamp(total: Int = 3, centerHue: Double = 0.0, hueCycle: Double = 0.3, offsetTint: Double = 0.1, offsetShade: Double = 0.1, curveAccent: Double = 0.0, tintShadeHueShift: Double = 0.1, curveMethod: Curve = Lamé, offsetCurveModTint: Double = 0.03, offsetCurveModShade: Double = 0.03, minSaturationLight: Vector2 = Vector2.ZERO, maxSaturationLight: Vector2 = Vector2.ONE, useOK: Boolean = false): ColorRamp(source)
Parameters
total
total of base colors in the ramp
centerHue
at what hue should the generation start at
hueCycle
hsl spins how much should the hue change over the curve, 0: not at all, 1: one full rainbow
offsetTint
offset for the tints
offsetShade
offset of the shades
curveAccent
how accentuated is the curve (depends heavily on curveMethod)
tintShadeHueShift
defines how shifted the hue is for the shades and the tints
offsetCurveModTint
modifies the tint curve
offsetCurveModShade
modifies the shade curve
minSaturationLight
defines the min saturation and light of all the colors
maxSaturationLight
defines the max saturation and light of all the colors
useOK
use OKHSV and OKHSL spaces