Interface: ScatterOnEllipsoidOptions
Defined in: src/mobjects/three-d/scatter.ts:41
Options for scatterOnEllipsoid.
Extends
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/scatter.ts:45
Center. Default: [0, 0, 0]
count
count:
number
Defined in: src/mobjects/three-d/scatter.ts:31
Number of points wanted.
Inherited from
filter()?
optionalfilter: (p) =>boolean
Defined in: src/mobjects/three-d/scatter.ts:47
Keep only points that pass this test (e.g. skip a cut-away region).
Parameters
p
Returns
boolean
maxAttempts?
optionalmaxAttempts:number
Defined in: src/mobjects/three-d/scatter.ts:37
Candidate budget. Default: 30 * count
Inherited from
minDistance?
optionalminDistance:number
Defined in: src/mobjects/three-d/scatter.ts:35
Minimum distance between two points. Default: 0 (no limit)
Inherited from
radii?
optionalradii:number|Vector3Tuple
Defined in: src/mobjects/three-d/scatter.ts:43
Semi-axes [a, b, c], or one radius for a sphere. Default: 1
seed?
optionalseed:number
Defined in: src/mobjects/three-d/scatter.ts:33
Seed. Default: 1