ts-playground
    Preparing search index...
    • Map a value from the interval [0, 1] to the interval [0, +∞) using a scaled logarithmic function.

      Parameters

      • x: number

        in the range [0, 1]

      • q: number

        A scaling factor. If q = 0, the function behaves like a limit approaching infinity. If q > 0, the function scales the output.

      Returns number

      number in the range [0, +∞)