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

x/remapper/src/mod.ts>lerpColor

A framework for Beat Saber map scripting.
Go to Latest
function lerpColor
Re-export
import { lerpColor } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Interpolates between a start and end color to get a color in between.

Parameters

start: Color

Start color.

end: Color

End color.

fraction: number

The value in between colors.

optional
easing = [UNSUPPORTED]

Optional easing.

optional
format: ColorFormat

Option to lerp through HSV or RGB.