function scrollInterpolator1 (index, carouselProps) {
    const range = [3, 2, 1, 0, -1];
    const inputRange = getInputRangeFromIndexes(range, index, carouselProps);
    const outputRange = range;

    return { inputRange, outputRange };
}
function scrollInterpolator1 (index, carouselProps) {
    const range = [3, 2, 1, 0, -1];
    const inputRange = getInputRangeFromIndexes(range, index, carouselProps);
    const outputRange = range;

    return { inputRange, outputRange };
}
function scrollInterpolator1 ( index , carouselProps ) { const range = [ 3 , 2 , 1 , 0 , - 1 ] ; const inputRange = getInputRangeFromIndexes ( range , index , carouselProps ) ; const outputRange = range ; return { inputRange , outputRange } ; }
Photo album effect
Photo album effect
scrollInterpolator1 - returns an object with input range and output range