Skip to main content

Interface: PenFollowStrokeOptions

Defined in: src/mobjects/writing-pen/PenFollowStroke.ts:8

Options for PenFollowStroke.

Extends​

Properties​

duration?​

optional duration: number

Defined in: src/animation/Animation.ts:16

Duration of the animation in seconds (default: 1)

Inherited from​

AnimationOptions.duration


lagRatio?​

optional lagRatio: number

Defined in: src/mobjects/writing-pen/PenFollowStroke.ts:13

Stagger between family members of a group target, as in Create. Default 1: members are drawn one after the other.


rateFunc?​

optional rateFunc: RateFunction

Defined in: src/animation/Animation.ts:18

Rate function controlling the animation's pacing (default: smooth)

Inherited from​

AnimationOptions.rateFunc


removePen?​

optional removePen: boolean

Defined in: src/mobjects/writing-pen/PenFollowStroke.ts:15

Remove the pen from the scene when the animation ends. Default true.


shift?​

optional shift: [number, number, number]

Defined in: src/animation/Animation.ts:20

Shift direction for fade animations

Inherited from​

AnimationOptions.shift