Skip to main content

Interface: LinearTransformationSceneOptions

Defined in: core/LinearTransformationScene.ts:15

Options for configuring a LinearTransformationScene.

Extends

Properties

autoRender?

optional autoRender: boolean

Defined in: core/Scene.ts:58

Enable auto-render on add/remove. Defaults to true.

Inherited from

SceneOptions.autoRender


backgroundColor?

optional backgroundColor: string

Defined in: core/Scene.ts:48

Background color as CSS color string. Defaults to Manim's dark gray (#1C1C1C).

Inherited from

SceneOptions.backgroundColor


backgroundOpacity?

optional backgroundOpacity: 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?

optional frameHeight: number

Defined in: core/Scene.ts:52

Frame height in world units. Defaults to 8 (Manim standard).

Inherited from

SceneOptions.frameHeight


frameWidth?

optional frameWidth: number

Defined in: core/Scene.ts:50

Frame width in world units. Defaults to 14 (Manim standard).

Inherited from

SceneOptions.frameWidth


frustumCulling?

optional frustumCulling: boolean

Defined in: core/Scene.ts:56

Enable frustum culling optimization. Defaults to true.

Inherited from

SceneOptions.frustumCulling


gridColor?

optional gridColor: string

Defined in: core/LinearTransformationScene.ts:31

Color for background grid lines. Defaults to '#555555'.


height?

optional height: number

Defined in: core/Scene.ts:46

Canvas height in pixels. Defaults to container height.

Inherited from

SceneOptions.height


iColor?

optional iColor: string

Defined in: core/LinearTransformationScene.ts:25

Color for the i basis vector. Defaults to green.


jColor?

optional jColor: string

Defined in: core/LinearTransformationScene.ts:27

Color for the j basis vector. Defaults to red.


showBasisVectors?

optional showBasisVectors: boolean

Defined in: core/LinearTransformationScene.ts:29

Whether to show basis vectors by default. Defaults to true.


targetFps?

optional targetFps: number

Defined in: core/Scene.ts:54

Target frame rate in fps. Defaults to 60.

Inherited from

SceneOptions.targetFps


width?

optional width: number

Defined in: core/Scene.ts:44

Canvas width in pixels. Defaults to container width.

Inherited from

SceneOptions.width


xLength?

optional xLength: number

Defined in: core/LinearTransformationScene.ts:21

Visual length of the x-axis. Defaults to 10.


xRange?

optional xRange: [number, number, number]

Defined in: core/LinearTransformationScene.ts:17

X-axis range as [min, max, step]. Defaults to [-5, 5, 1].


yLength?

optional yLength: number

Defined in: core/LinearTransformationScene.ts:23

Visual length of the y-axis. Defaults to 10.


yRange?

optional yRange: [number, number, number]

Defined in: core/LinearTransformationScene.ts:19

Y-axis range as [min, max, step]. Defaults to [-5, 5, 1].