Practic Force Directed - v1.0.0
    Preparing search index...

    Function forceGraphCreateSeededRandom

    • Create a seeded pseudo-random number generator (a linear congruential generator), so anything drawn from it can be repeated: the same seed always gives the same sequence.

      Parameters

      • seed: number

        The initial unsigned 32-bit seed.

      Returns () => number

      A function returning the next number, from 0 up to, but excluding, 1.