Interface: TubeNetwork3DOptions
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:26
Options for creating a TubeNetwork3D.
Extends
OrganicMeshOptions.TubeGraph
Properties
capSegments?
optionalcapSegments:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:37
Latitude rings in each round tube end. Default: 3
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/organicMesh.ts:416
Center position [x, y, z]. Default: [0, 0, 0]
Inherited from
OrganicMeshOptions.center
color?
optionalcolor:string
Defined in: src/mobjects/three-d/organicMesh.ts:412
Color as a CSS color string.
Inherited from
OrganicMeshOptions.color
edges
edges: [
number,number][]
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:20
Tubes as pairs of node indices.
Inherited from
jointDetail?
optionaljointDetail:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:39
Icosphere subdivision of the joints. Default: 1
jointRadius?
optionaljointRadius:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:33
Radius of the round joint at each node. A value <= radius drops the joint spheres (the round tube ends still close each joint). Default: 1.35 * radius
nodes
nodes:
Vector3Tuple[]
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:18
Joint positions.
Inherited from
opacity?
optionalopacity:number
Defined in: src/mobjects/three-d/organicMesh.ts:414
Opacity from 0 to 1. Default: 1
Inherited from
OrganicMeshOptions.opacity
radialSegments?
optionalradialSegments:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:35
Segments around each tube. Default: 8
radius?
optionalradius:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:28
Tube radius. Default: 0.05
root?
optionalroot:number
Defined in: src/mobjects/three-d/TubeNetwork3D.ts:41
Node the build-up reveal starts from. Default: 0