Skip to main content

Interface: ComplexPlaneOptions

Defined in: src/mobjects/graphing/ComplexPlane.ts:25

Options for creating a ComplexPlane

Extends​

Properties​

axisConfig?​

optional axisConfig: Partial<NumberLineOptions>

Defined in: src/mobjects/graphing/Axes.ts:37

Common configuration for both axes

Inherited from​

NumberPlaneOptions.axisConfig


backgroundLineStyle?​

optional backgroundLineStyle: BackgroundLineStyle

Defined in: src/mobjects/graphing/NumberPlane.ts:24

Style configuration for background grid lines

Inherited from​

NumberPlaneOptions.backgroundLineStyle


color?​

optional color: string

Defined in: src/mobjects/graphing/Axes.ts:35

Stroke color for axes. Default: '#ffffff'

Inherited from​

NumberPlaneOptions.color


fadedLineRatio?​

optional fadedLineRatio: number

Defined in: src/mobjects/graphing/NumberPlane.ts:28

Number of faded lines per interval between main lines. Default: 1

Inherited from​

NumberPlaneOptions.fadedLineRatio


fadedLineStyle?​

optional fadedLineStyle: BackgroundLineStyle

Defined in: src/mobjects/graphing/NumberPlane.ts:26

Style configuration for faded sub-grid lines. Auto-computed from backgroundLineStyle if not set.

Inherited from​

NumberPlaneOptions.fadedLineStyle


fadingFactor?​

optional fadingFactor: number

Defined in: src/mobjects/graphing/NumberPlane.ts:30

Fading factor for lines far from axes. Default: 1 (no fading)

Inherited from​

NumberPlaneOptions.fadingFactor


includeBackgroundLines?​

optional includeBackgroundLines: boolean

Defined in: src/mobjects/graphing/NumberPlane.ts:22

Whether to include background grid lines. Default: true

Inherited from​

NumberPlaneOptions.includeBackgroundLines


includeImaginaryLabels?​

optional includeImaginaryLabels: boolean

Defined in: src/mobjects/graphing/ComplexPlane.ts:27

Whether to show imaginary unit labels (i, 2i, etc.). Default: true


labelColor?​

optional labelColor: string

Defined in: src/mobjects/graphing/ComplexPlane.ts:31

Color for axis labels. Default: '#ffffff'


labelFontSize?​

optional labelFontSize: number

Defined in: src/mobjects/graphing/ComplexPlane.ts:29

Font size for labels. Default: 24


tipLength?​

optional tipLength: number

Defined in: src/mobjects/graphing/Axes.ts:45

Length of arrow tips. Default: 0.25

Inherited from​

NumberPlaneOptions.tipLength


tips?​

optional tips: boolean

Defined in: src/mobjects/graphing/Axes.ts:43

Whether to include arrow tips on axes. Default: true

Inherited from​

NumberPlaneOptions.tips


xAxisConfig?​

optional xAxisConfig: Partial<NumberLineOptions>

Defined in: src/mobjects/graphing/Axes.ts:39

Configuration specific to x-axis (overrides axisConfig)

Inherited from​

NumberPlaneOptions.xAxisConfig


xLength?​

optional xLength: number

Defined in: src/mobjects/graphing/Axes.ts:31

Visual length of the x-axis. Default: 10

Inherited from​

NumberPlaneOptions.xLength


xRange?​

optional xRange: [number, number] | [number, number, number]

Defined in: src/mobjects/graphing/Axes.ts:27

X-axis range as [min, max] or [min, max, step]. Default: [-5, 5, 1]

Inherited from​

NumberPlaneOptions.xRange


yAxisConfig?​

optional yAxisConfig: Partial<NumberLineOptions>

Defined in: src/mobjects/graphing/Axes.ts:41

Configuration specific to y-axis (overrides axisConfig)

Inherited from​

NumberPlaneOptions.yAxisConfig


yLength?​

optional yLength: number

Defined in: src/mobjects/graphing/Axes.ts:33

Visual length of the y-axis. Default: 6

Inherited from​

NumberPlaneOptions.yLength


yRange?​

optional yRange: [number, number] | [number, number, number]

Defined in: src/mobjects/graphing/Axes.ts:29

Y-axis range as [min, max] or [min, max, step]. Default: [-3, 3, 1]

Inherited from​

NumberPlaneOptions.yRange