@mocanvas/editor · type

TLInterpolationProgress

type TLInterpolationProgress = number

How a shape's props are blended between two versions of it, for ShapeUtil.getInterpolatedProps.

t runs 0 (entirely the start shape) to 1 (entirely the end shape) and may be outside that range when an easing overshoots, so an implementation should not assume it is clamped.

Mentioned here

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.