Skip to main content

Interface: CellClearOptions

Defined in: src/mobjects/biology/cell3d/Cell3D.ts:92

Options of Cell3D.clearAround.

Extends​

Properties​

duration?​

optional duration: number

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

Duration of the animation in seconds (default: 1)

Inherited from​

ClearAroundOptions.duration


margin?​

optional margin: number

Defined in: src/mobjects/biology/cell3d/Cell3D.ts:96

Scale of the target's half-diagonal. Default: 1.1


radius?​

optional radius: number

Defined in: src/mobjects/biology/cell3d/Cell3D.ts:94

Radius of the cleared sphere. Default: margin x the target's half-diagonal


rateFunc?​

optional rateFunc: RateFunction

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

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

Inherited from​

ClearAroundOptions.rateFunc


shift?​

optional shift: [number, number, number]

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

Shift direction for fade animations

Inherited from​

ClearAroundOptions.shift


softness?​

optional softness: number

Defined in: src/mobjects/biology/cell3d/FreeRibosomes3D.ts:42

Width of the soft edge, as a fraction of the radius: ribosomes in the outer band shrink part of the way. Default: 0.25

Inherited from​

ClearAroundOptions.softness