Given an Array of items, find an item using t (which goes from 0 to 1), by
using t to estimate the index of said value in the array of values,
then expand that to encompass multiple t's in an Array,
which returns Array items which each follow the interpolated index value
This is meant for interplolating strings that aren't number-like
Source
Source code of interpolateSequenceBatch
Type Parameters
T
Parameters
arr_t: number[]
Array of numbers (between 0 to 1) which each represent an instance of the interpolation
values: T[]
Array of items to choose from
Returns T[]
Array of Interpolated input Array items at different instances
Given an Array of items, find an item using
t
(which goes from 0 to 1), by usingt
to estimate the index of said value in the array ofvalues
, then expand that to encompass multiplet
's in an Array, which returns Array items which each follow the interpolated index valueThis is meant for interplolating strings that aren't number-like
Source
Source code of
interpolateSequenceBatch