@mocanvas/editor · interface

TLAnimationOptions

interface TLAnimationOptions

How an animated shape change is paced.


Properties · 2

duration?: number

Milliseconds. 0 (the default) applies the change immediately.

easing?: (t: number) => number

Progress curve; defaults to the editor's own ease-in-out.

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.