Navel Pondering Mantra

    eases-cdn

    1.0.3 • Public • Published

    eases

    Available as CDN from https://unpkg.com/eases-cdn/

    stable

    This is a grab-bag of Robert Penner's easing equations, most of the code from glsl-easings.

    // import all eases
    import eases from 'eases-cdn'
     
    // import only the single function
    const { quadIn } from 'eases-cdn' 

    Graph

    You can see the easings graph here https://codepen.io/kunukn/full/mpVJOm/

    Usage

    All easing functions only remap a time value, and all have the same signature.

    v = ease(t)

    Where t is typically a value between 0 and 1, and it returns a new float that has been eased.

    License

    MIT, see LICENSE.md for details.

    Install

    npm i eases-cdn

    DownloadsWeekly Downloads

    182

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • kunukn