Ranger.js : JavaScript library for Ranges of Numbers

    Ranger.js : JavaScript library for Ranges of Numbers

    Ranger.js is a small, standalone library for working with ranges of numbers in Javascript.

    Ranger provides all the utility methods you’d expect, including clampwrapmap, and random. These methods are available statically, as well as through a Range object that can be instantiated for repeated use.

    Ranger’s main feature is the ability to provide a ‘curve’ function to certain methods, which will affect how numbers are distributed.

    Leave a Reply