@like2d/like
    Preparing search index...

    Module math

    A purely functional math library, mostly for 2d.

    Check out Vector2 and Rect

    Why purely functional?

    1. Plays nice with stream iterators.
    2. JS is likely to add a pipe operator in the future.
    3. Construction is as easy as building an array.

    Functions

    mod

    References

    Pair → Pair
    Rect → Rect
    Rectangle → Rectangle
    Vec2 → Vec2
    Vector2 → Vector2