ixfx
    Preparing search index...

    Function weighted

    • Returns a random number, 0..1, weighted by a given easing function. See @ixfx/modulation.weighted to use a named easing function. Use weightedSource to return a function instead.

      Parameters

      Returns number

      Random number (0-1)

      weightedSource Returns a function rather than value