Interface: VectorSceneOptions
Defined in: core/VectorScene.ts:14
Options for configuring a VectorScene.
Extends
Properties
autoRender?
optionalautoRender:boolean
Defined in: core/Scene.ts:58
Enable auto-render on add/remove. Defaults to true.
Inherited from
backgroundColor?
optionalbackgroundColor:string
Defined in: core/Scene.ts:48
Background color as CSS color string. Defaults to Manim's dark gray (#1C1C1C).
Inherited from
backgroundOpacity?
optionalbackgroundOpacity:number
Defined in: core/Scene.ts:60
Background opacity (0 = fully transparent, 1 = fully opaque). Defaults to 1. Not supported when exporting to video or GIF formats.
Inherited from
SceneOptions.backgroundOpacity
frameHeight?
optionalframeHeight:number
Defined in: core/Scene.ts:52
Frame height in world units. Defaults to 8 (Manim standard).
Inherited from
frameWidth?
optionalframeWidth:number
Defined in: core/Scene.ts:50
Frame width in world units. Defaults to 14 (Manim standard).
Inherited from
frustumCulling?
optionalfrustumCulling:boolean
Defined in: core/Scene.ts:56
Enable frustum culling optimization. Defaults to true.
Inherited from
height?
optionalheight:number
Defined in: core/Scene.ts:46
Canvas height in pixels. Defaults to container height.
Inherited from
iColor?
optionaliColor:string
Defined in: core/VectorScene.ts:26
Color for the i basis vector. Defaults to green.
jColor?
optionaljColor:string
Defined in: core/VectorScene.ts:28
Color for the j basis vector. Defaults to red.
showBasisVectors?
optionalshowBasisVectors:boolean
Defined in: core/VectorScene.ts:30
Whether to show basis vectors on creation. Defaults to false.
showPlane?
optionalshowPlane:boolean
Defined in: core/VectorScene.ts:16
Whether to show the coordinate plane by default. Defaults to true.
targetFps?
optionaltargetFps:number
Defined in: core/Scene.ts:54
Target frame rate in fps. Defaults to 60.
Inherited from
width?
optionalwidth:number
Defined in: core/Scene.ts:44
Canvas width in pixels. Defaults to container width.
Inherited from
xLength?
optionalxLength:number
Defined in: core/VectorScene.ts:22
Visual length of the x-axis. Defaults to 10.
xRange?
optionalxRange: [number,number,number]
Defined in: core/VectorScene.ts:18
X-axis range as [min, max, step]. Defaults to [-5, 5, 1].
yLength?
optionalyLength:number
Defined in: core/VectorScene.ts:24
Visual length of the y-axis. Defaults to 6.
yRange?
optionalyRange: [number,number,number]
Defined in: core/VectorScene.ts:20
Y-axis range as [min, max, step]. Defaults to [-3, 3, 1].