Colors to Gradient

Constructs a gradient from a Color[], where each color becomes a gradient stop. A position attribute on the colors places their stops along the ramp and a midpoint attribute skews each transition, while colors carrying neither are distributed evenly across the 0 to 1 range.

Interface

Inputs

ParameterDetailsPossible Types
Colors

Primary Input

Color[]
Graphic[]

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Gradient