Interface: TubeLatticeOptions
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:47
Options for TubeNetwork3D.lattice: a seeded, jittered lattice net.
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:51
Center of the region. Default: [0, 0, 0]
diagonals?
optionaldiagonals:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:59
Probability to add a diagonal across each XY cell. Default: 0.3
dropout?
optionaldropout:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:57
Probability to drop each lattice edge (opens irregular holes). Default: 0.15
jitter?
optionaljitter:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:55
Random node offset as a fraction of the spacing. Default: 0.35
seed?
optionalseed:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:63
Seed. Default: 1
shape?
optionalshape:"box"|"ellipsoid"
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:61
Region shape: the box, or the ellipsoid inscribed in it. Default: 'box'
size?
optionalsize:Vector3Tuple
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:49
Size of the region [x, y, z]. A small z gives a single sheet. Default: [3, 3, 0.2]
spacing?
optionalspacing:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:53
Lattice spacing. Default: 0.4
warp()?
optionalwarp: (p) =>Vector3Tuple
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:65
Optional map applied to every node position (e.g. wrap the sheet onto a shell).