Gradient Midpoints

Skews how rapidly the color flows across each interval between color stops, bunching up the transition toward one end instead of progressing uniformly. Each value places the halfway color within its corresponding interval, measured as a fraction of the distance (0 to 1) between the adjacent stops. A 0.5 midpoint keeps a uniform transition rate through the interval.

Non-cyclic gradients have no interval following the last stop, meaning the midpoint is ignored in that position.

A list shorter than the stop count repeats its last value, a longer list is truncated, and an empty list sets each midpoint to its default of 0.5.

Interface

Inputs

ParameterDetailsPossible Types
Gradient

Primary Input

Gradient[]
Gradient
Midpoints

Default: F64Array([])

f64[]

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Gradient
Gradient[]