Documentation / @ripl/core / interpolateNumbers
Variable: interpolateNumbers ​
constinterpolateNumbers:InterpolatorFactory<number[]>
Defined in: packages/core/src/interpolators/number.ts:26
Interpolator factory that transitions between two numeric arrays element-wise.
The result takes the target's length, the shorter array repeating to fill it — a line dash pattern already repeats, so [4, 4] and [4, 4, 4, 4] describe the same dashes. An empty array on either side has nothing to pair with and falls back to a discrete swap.