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

1.1.0 • 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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.0117latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.0117
1.0.31
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @rbxts/cubic-bezier

Weekly Downloads

118

Version

1.1.0

License

ISC

Unpacked Size

7.39 kB

Total Files

5

Last publish

Collaborators

  • validark