RPE easing type (1–28). Invalid types default to linear (1).
Raw progress ∈ [0, 1].
Left sub-range boundary (default 0). Use with easingRight
to restrict the easing to a portion of the curve.
Right sub-range boundary (default 1).
OptionalbezierPoints: number[]If provided (4 numbers [x1, y1, x2, y2]), uses a
CSS-style cubic bezier instead of the type curve.
The eased progress value, usually ∈ [0, 1].
Evaluate an RPE easing at progress
x.Handles sub-range clamping (
easingLeft/easingRight) and optional cubic-bezier override. This is the main function you call to get an eased progress value from an RPE event.