Interface: ThreeDAxesOptions
Defined in: src/mobjects/three-d/ThreeDAxes.ts:11
Options for creating ThreeDAxes
Properties
axisColor?
optionalaxisColor:string
Defined in: src/mobjects/three-d/ThreeDAxes.ts:35
Default color for all axes. Default: '#ffffff'
billboardLabels?
optionalbillboardLabels:boolean
Defined in: src/mobjects/three-d/ThreeDAxes.ts:58
Whether axis labels rotate to always face the camera (Manim CE's
add_fixed_orientation_mobjects behavior). Default: true.
labelBuffer?
optionallabelBuffer:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:53
Offset in world units from each axis tip to its label. Default: 0.4
labelFontSize?
optionallabelFontSize:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:51
Font size used when creating labels from strings (MathTexImage pixel size). Default: 32
labels?
optionallabels:object
Defined in: src/mobjects/three-d/ThreeDAxes.ts:45
Custom label text or Mobjects per axis. String entries become Text mobjects. Defaults: 'x', 'y', 'z'
x?
optionalx:string|Mobject
y?
optionaly:string|Mobject
z?
optionalz:string|Mobject
shaftRadius?
optionalshaftRadius:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:68
Shaft radius for arrows. Default: 0.01
showLabels?
optionalshowLabels:boolean
Defined in: src/mobjects/three-d/ThreeDAxes.ts:43
Whether to show axis labels (x, y, z). Default: false
showTicks?
optionalshowTicks:boolean
Defined in: src/mobjects/three-d/ThreeDAxes.ts:60
Whether to show tick marks. Default: true
tickLength?
optionaltickLength:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:62
Length of tick marks. Default: 0.15
tipLength?
optionaltipLength:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:64
Tip length for arrows. Default: 0.2
tipRadius?
optionaltipRadius:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:66
Tip radius for arrows. Default: 0.08
xColor?
optionalxColor:string
Defined in: src/mobjects/three-d/ThreeDAxes.ts:37
Color for x-axis (overrides axisColor). Default: same as axisColor
xLength?
optionalxLength:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:23
Visual length of the x-axis in scene units, independent of xRange. When omitted, defaults to the x-range span (xMax - xMin), so the axis keeps a 1:1 range-to-visual mapping (unchanged default behavior).
xRange?
optionalxRange: [number,number,number]
Defined in: src/mobjects/three-d/ThreeDAxes.ts:13
X-axis range as [min, max, step]. Default: [-6, 6, 1]
yColor?
optionalyColor:string
Defined in: src/mobjects/three-d/ThreeDAxes.ts:39
Color for y-axis (overrides axisColor). Default: same as axisColor
yLength?
optionalyLength:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:28
Visual length of the y-axis in scene units, independent of yRange. When omitted, defaults to the y-range span (yMax - yMin).
yRange?
optionalyRange: [number,number,number]
Defined in: src/mobjects/three-d/ThreeDAxes.ts:15
Y-axis range as [min, max, step]. Default: [-5, 5, 1]
zColor?
optionalzColor:string
Defined in: src/mobjects/three-d/ThreeDAxes.ts:41
Color for z-axis (overrides axisColor). Default: same as axisColor
zLength?
optionalzLength:number
Defined in: src/mobjects/three-d/ThreeDAxes.ts:33
Visual length of the z-axis in scene units, independent of zRange. When omitted, defaults to the z-range span (zMax - zMin).
zRange?
optionalzRange: [number,number,number]
Defined in: src/mobjects/three-d/ThreeDAxes.ts:17
Z-axis range as [min, max, step]. Default: [-4, 4, 1]