Skip to content

Documentation / @ripl/core / interpolatePattern

Variable: interpolatePattern ​

const interpolatePattern: InterpolatorFactory<string>

Defined in: packages/core/src/interpolators/pattern.ts:33

Interpolator factory that transitions between two pattern(...) paint strings sharing a tile type by interpolating their foreground/background colors and tile size.