Gradient Shift

Shifts every stop along each gradient's ramp, sliding the colors within the gradient without moving the gradient itself.

The fraction is measured against the whole ramp. A cyclic gradient spins, wrapping past the end back around to the start so 1 is a full turn that lands where it began. A gradient that isn't cyclic has no loop to spin around, so its stops slide off the end and keep going, leaving the visible ramp to blend between whichever colors still span it.

Interface

Inputs

ParameterDetailsPossible Types
Gradient

Primary Input

Gradient[]
Gradient
Fraction

Default: 0

f64[]
f64

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Gradient
Gradient[]