Skip to main content

Function: showCreationThenDestruction()

showCreationThenDestruction(mobject, options?): ShowCreationThenDestruction

Defined in: animation/indication/ShowCreationThenDestruction.ts:116

Create a ShowCreationThenDestruction animation for a mobject. First half draws the stroke progressively; second half erases it.

Parameters

mobject

Mobject

The mobject to animate (should be a VMobject for best effect)

options?

AnimationOptions

Animation options (duration, rateFunc)

Returns

ShowCreationThenDestruction