Skip to main content

Function: showPassingFlashWithThinningStrokeWidth()

showPassingFlashWithThinningStrokeWidth(mobject, options?): ShowPassingFlashWithThinningStrokeWidth

Defined in: animation/indication/ShowPassingFlashWithThinningStrokeWidth.ts:128

Create a ShowPassingFlashWithThinningStrokeWidth animation for a mobject. Shows a highlighted flash traveling along the mobject's path with stroke width that tapers from full width at the head to thin at the tail.

Parameters

mobject

Mobject

The mobject (preferably VMobject) to show flash on

options?

ShowPassingFlashWithThinningStrokeWidthOptions

Animation options (color, timeWidth, strokeWidth, minStrokeWidthRatio)

Returns

ShowPassingFlashWithThinningStrokeWidth