Skip to main content

Interface: ForwardPassOptions

Defined in: src/mobjects/ml/forwardPass.ts:17

Extends​

Properties​

activationColor?​

optional activationColor: string

Defined in: src/mobjects/ml/EdgePulse.ts:18

Color the line takes when fully active. Default: white.

Inherited from​

EdgePulseOptions.activationColor


duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

EdgePulseOptions.duration


gapDuration?​

optional gapDuration: number

Defined in: src/mobjects/ml/forwardPass.ts:24

Duration of each gap's pulse in seconds. Default: 1.


lagRatio?​

optional lagRatio: number

Defined in: src/mobjects/ml/forwardPass.ts:22

Overlap between consecutive gaps. 1 is strictly sequential (one gap fully lit before the next starts), 0 is all gaps at once. Default: 1.


peakOpacity?​

optional peakOpacity: number

Defined in: src/mobjects/ml/EdgePulse.ts:20

Peak stroke opacity at full activation. Default: 1.

Inherited from​

EdgePulseOptions.peakOpacity


rateFunc?​

optional rateFunc: RateFunction

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

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

Inherited from​

EdgePulseOptions.rateFunc


restore?​

optional restore: boolean

Defined in: src/mobjects/ml/EdgePulse.ts:22

When true, the line fades back to its resting look at alpha 1. Default: false.

Inherited from​

EdgePulseOptions.restore


shift?​

optional shift: [number, number, number]

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

Shift direction for fade animations

Inherited from​

EdgePulseOptions.shift