Advanced
Custom curves
Section titled “Custom curves”Simple cubic beziers
Section titled “Simple cubic beziers”You can make your own easing curve using a simplified cubic bezier. Use the Cubic bezier editor here
This can be used as follows:
import { Modulation } from "https://unpkg.com/@ixfx/bundle";const shape = Modulation.cubicBezierShape(1.24, -1.15);const e = Modulation.time(shape, 1000);