Skip to main content

Interface: InteractiveSceneOptions

Defined in: core/InteractiveScene.ts:43

Options for configuring an InteractiveScene.

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


colorPaletteToggleKey?

optional colorPaletteToggleKey: string

Defined in: core/InteractiveScene.ts:49

Hotkey to toggle color palette. Defaults to 'c'.


enableDragMove?

optional enableDragMove: boolean

Defined in: core/InteractiveScene.ts:51

Whether drag-to-reposition is enabled. Defaults to true.


enableKeyboardShortcuts?

optional enableKeyboardShortcuts: boolean

Defined in: core/InteractiveScene.ts:53

Whether keyboard shortcuts are enabled. Defaults to true.


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


height?

optional height: number

Defined in: core/Scene.ts:46

Canvas height in pixels. Defaults to container height.

Inherited from

SceneOptions.height


selection?

optional selection: SelectionManagerOptions

Defined in: core/InteractiveScene.ts:45

SelectionManager configuration.


showColorPalette?

optional showColorPalette: boolean

Defined in: core/InteractiveScene.ts:47

Whether to show the color palette HUD on launch. Defaults to false.


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