Interface: ArrowVectorFieldOptions
Defined in: mobjects/graphing/VectorField.ts:51
Options for ArrowVectorField
Extends
Properties
color?
optionalcolor:string|ColorFunction
Defined in: mobjects/graphing/VectorField.ts:37
Color function or static color. Default: magnitude-based gradient
Inherited from
func
func:
VectorFunction
Defined in: mobjects/graphing/VectorField.ts:29
The vector function mapping (x, y) to [vx, vy]
Inherited from
lengthScale?
optionallengthScale:number
Defined in: mobjects/graphing/VectorField.ts:35
Length scaling factor for vectors. Default: 1
Inherited from
VectorFieldBaseOptions.lengthScale
maxArrowLength?
optionalmaxArrowLength:number
Defined in: mobjects/graphing/VectorField.ts:55
Maximum visual length for each arrow. Default: 0.8 (step size)
maxMagnitude?
optionalmaxMagnitude:number
Defined in: mobjects/graphing/VectorField.ts:41
Maximum magnitude threshold (vectors are capped). Default: Infinity
Inherited from
VectorFieldBaseOptions.maxMagnitude
minMagnitude?
optionalminMagnitude:number
Defined in: mobjects/graphing/VectorField.ts:39
Minimum magnitude threshold (vectors smaller are not drawn). Default: 0
Inherited from
VectorFieldBaseOptions.minMagnitude
normalizeArrows?
optionalnormalizeArrows:boolean
Defined in: mobjects/graphing/VectorField.ts:57
Whether to normalize all arrows to the same length. Default: false
opacity?
optionalopacity:number
Defined in: mobjects/graphing/VectorField.ts:45
Opacity. Default: 1
Inherited from
VectorFieldBaseOptions.opacity
strokeWidth?
optionalstrokeWidth:number
Defined in: mobjects/graphing/VectorField.ts:43
Stroke width. Default: DEFAULT_STROKE_WIDTH / 2
Inherited from
VectorFieldBaseOptions.strokeWidth
tipLength?
optionaltipLength:number
Defined in: mobjects/graphing/VectorField.ts:53
Length of arrow tips. Default: 0.15
xRange?
optionalxRange: [number,number,number]
Defined in: mobjects/graphing/VectorField.ts:31
X range as [min, max, step]. Default: [-5, 5, 0.5]
Inherited from
yRange?
optionalyRange: [number,number,number]
Defined in: mobjects/graphing/VectorField.ts:33
Y range as [min, max, step]. Default: [-3, 3, 0.5]