Skip to main content

Interface: TubeNetwork3DOptions

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:26

Options for creating a TubeNetwork3D.

Extends​

Properties​

capSegments?​

optional capSegments: number

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:37

Latitude rings in each round tube end. Default: 3


center?​

optional center: Vector3Tuple

Defined in: src/mobjects/three-d/organicMesh.ts:416

Center position [x, y, z]. Default: [0, 0, 0]

Inherited from​

OrganicMeshOptions.center


color?​

optional color: 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​

TubeGraph.edges


jointDetail?​

optional jointDetail: number

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:39

Icosphere subdivision of the joints. Default: 1


jointRadius?​

optional jointRadius: 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​

TubeGraph.nodes


opacity?​

optional opacity: number

Defined in: src/mobjects/three-d/organicMesh.ts:414

Opacity from 0 to 1. Default: 1

Inherited from​

OrganicMeshOptions.opacity


radialSegments?​

optional radialSegments: number

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:35

Segments around each tube. Default: 8


radius?​

optional radius: number

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:28

Tube radius. Default: 0.05


root?​

optional root: number

Defined in: src/mobjects/three-d/TubeNetwork3D.ts:41

Node the build-up reveal starts from. Default: 0