Interface: Mobject1DOptions
Defined in: mobjects/point/Mobject1D.ts:8
Options for creating a Mobject1D
Properties
color?
optionalcolor:string
Defined in: mobjects/point/Mobject1D.ts:18
Color as CSS color string. Default: white (#FFFFFF)
density?
optionaldensity:number
Defined in: mobjects/point/Mobject1D.ts:16
Alternative to numPoints: density (points per unit length). Overrides numPoints if provided.
end?
optionalend:Vector3Tuple
Defined in: mobjects/point/Mobject1D.ts:12
End point [x, y, z]. Default: [1, 0, 0]
numPoints?
optionalnumPoints:number
Defined in: mobjects/point/Mobject1D.ts:14
Number of points along the line. Default: 20
opacity?
optionalopacity:number
Defined in: mobjects/point/Mobject1D.ts:20
Opacity from 0 to 1. Default: 1
pointSize?
optionalpointSize:number
Defined in: mobjects/point/Mobject1D.ts:22
Size of each point in pixels. Default: 6
start?
optionalstart:Vector3Tuple
Defined in: mobjects/point/Mobject1D.ts:10
Start point [x, y, z]. Default: [-1, 0, 0]