Skip to main content

Interface: ElectronPushingArrowOptions

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:55

Options for an ElectronPushingArrow.

Properties​

bulge?​

optional bulge: number

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:63

Curvature: how far the arc bows from the straight chord, as a fraction of the chord length. Default: 0.3.


color?​

optional color: string

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:67

Stroke/head color. Default: DEFAULT_ELECTRON_ARROW_COLOR.


direction?​

optional direction: "ccw" | "cw"

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:65

Which side the arc bows to. Default: 'ccw'.


electrons?​

optional electrons: ArrowElectrons

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:61

Electrons moved. Default: 'pair'.


from​

from: Vector3Tuple

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:57

Tail: the electron source (a lone pair, a bond midpoint or an atom).


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:69

Stroke width in pixels. Default: Manim's default.


to​

to: Vector3Tuple

Defined in: src/mobjects/chemistry/ElectronPushingArrow.ts:59

Head: where the electrons go (an atom, a bond or a point).