Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/general.ts>arrLerp

A framework for Beat Saber map scripting.
Go to Latest
variable arrLerp
import { arrLerp } from "https://deno.land/x/remapper@3.0.0/src/general.ts";

Interpolate to find an array between 2 arrays of the same length.

type

<T extends readonly [] | readonly number[]>(
start: T,
end: [K in keyof T]: number,
fraction: number,
) => unknown