Random generator library

This is a live demo from this library.

Unlike Math.random, this library allows user to choose himself a seed (both number and hashed strings), in addition to proposing differents probability distributions (you may check Documentation to get a complete list of availables distributions).

Generating a large number at once may slow down the page.

See it on GitHub for more informations.

It seems you're running this file from a local file system.
Cross origin requests may be supported only for protocol schemes on some browsers.

Number of draws
Distribution law
            let Distribution = Lowlight.Random.Distribution
            let generator = new Distribution.Normal().seed(0)


        //Could display random number
            setInterval(function () { console.log(generator.next()) }, 500)