VFX-JS
    Preparing search index...

    Type Alias GradientMapParams

    type GradientMapParams = {
        colors: string[];
        frequency: number;
        mixSpace: GradientMapMixSpace;
        offset: number;
        repeat: GradientMapRepeat;
        scatter: number;
        speed: number;
    }
    Index

    Properties

    colors: string[]

    Gradient color stops (2–8), evenly spaced over the luminance range.

    frequency: number

    How many times the gradient repeats across the luminance range.

    Color space used to interpolate the gradient.

    offset: number

    Shift the lookup position along the gradient, in [0, 1].

    How the lookup folds back when out of range (none = clamp).

    scatter: number

    Random luminance jitter before the lookup, in [0, 1].

    speed: number

    Animate the offset over time, in [-1, 1] (0 = static).