rbx-cubic-bezier
v0.0.1
Published
A library for generating smooth two-dimensional interpolation curves
Downloads
3
Maintainers
Readme
Bezier
Used to create Bezier functions.
API
import Bezier from "rbx-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.