Nonchalant Programming Master
    Wondering what’s next for npm?Check out our public roadmap! »

    @rbxts/cubic-bezier
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    Bezier

    Used to create Bezier functions.

    API

    import Bezier from "cubic-bezier";
     
    const EasingFunc = new Bezier(0.17, 0.67, 0.83, 0.67);
     
    EasingFunc(0) // 0
    EasingFunc(0.5) // something in between
    EasingFunc(1) // 1

    Test and generate Bezier curves here at cubic-bezier.com or at greweb.me Credit: Math borrowed from here.

    Install

    npm i @rbxts/cubic-bezier

    DownloadsWeekly Downloads

    2

    Version

    1.0.2

    License

    ISC

    Unpacked Size

    5.25 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar