Skip to main content

Interface: VectorFieldVectorOptions

Defined in: src/mobjects/graphing/Vector.ts:8

Options for creating a VectorFieldVector

Properties​

color?​

optional color: string

Defined in: src/mobjects/graphing/Vector.ts:14

Stroke color. Default: '#58c4dd' (Manim blue)


direction​

direction: Vector3Tuple

Defined in: src/mobjects/graphing/Vector.ts:10

The direction of the vector as [x, y, z]


maxLength?​

optional maxLength: number

Defined in: src/mobjects/graphing/Vector.ts:20

Maximum length for vector fields. Default: Infinity (no cap)


startPoint?​

optional startPoint: Vector3Tuple

Defined in: src/mobjects/graphing/Vector.ts:12

The starting point of the vector. Default: [0, 0, 0]


strokeWidth?​

optional strokeWidth: number

Defined in: src/mobjects/graphing/Vector.ts:16

Stroke width in pixels. Default: 2


tipLength?​

optional tipLength: number

Defined in: src/mobjects/graphing/Vector.ts:18

Length of the arrow tip. Default: 0.2