Interface: BasePairRender
Defined in: src/mobjects/biology/biologyTypes.ts:85
A resolved base pair of a DNAHelix.
Properties
base
base:
BaseSymbol
Defined in: src/mobjects/biology/biologyTypes.ts:91
The base on the first strand.
center
center:
Vector3Tuple
Defined in: src/mobjects/biology/biologyTypes.ts:102
The center of the base pair, on the helix axis: the midpoint of start and end. The two nucleobase halves meet here across the hydrogen-bond gap.
color
color:
string
Defined in: src/mobjects/biology/biologyTypes.ts:123
The resolved color of the strand-A half (the pair's primary color).
complement
complement:
BaseSymbol
Defined in: src/mobjects/biology/biologyTypes.ts:93
The base on the second strand (the complement).
end
end:
Vector3Tuple
Defined in: src/mobjects/biology/biologyTypes.ts:97
The base-pair endpoint on the second strand (strand-B backbone join).
endBase
Defined in: src/mobjects/biology/biologyTypes.ts:114
The strand-B (complementary) nucleobase half. It runs from the strand-B
backbone (end) inward toward center and is colored by
complement. A flat Line in 2D; a Bond3D in 3D.
endBead
Defined in: src/mobjects/biology/biologyTypes.ts:133
The nucleotide bead on the second strand, or null when beads are off.
frontness
frontness:
number
Defined in: src/mobjects/biology/biologyTypes.ts:129
How far the rung sits toward the viewer, from 0 (back of a turn) to 1 (front). Drives the depth-cue dimming and thinning. 0.5 when depth cue is off.
hBond
hBond:
VGroup
Defined in: src/mobjects/biology/biologyTypes.ts:121
The hydrogen-bond marker in the central gap: a VGroup of 3 thin connectors for a G-C pair, or 2 for an A-T pair. Dashed Lines in 2D; thin Bond3D cylinders in 3D. Null when the central gap is closed (baseGap is 0) or the rung has no length.
index
index:
number
Defined in: src/mobjects/biology/biologyTypes.ts:87
Index of the base pair, from bottom to top.
start
start:
Vector3Tuple
Defined in: src/mobjects/biology/biologyTypes.ts:95
The base-pair endpoint on the first strand (strand-A backbone join).
startBase
Defined in: src/mobjects/biology/biologyTypes.ts:108
The strand-A nucleobase half. It runs from the strand-A backbone (start)
inward toward center and is colored by base. A flat Line
in 2D schematic mode; a solid 3D Bond3D cylinder in 3D mode.
startBead
Defined in: src/mobjects/biology/biologyTypes.ts:131
The nucleotide bead on the first strand, or null when beads are off.
t
t:
number
Defined in: src/mobjects/biology/biologyTypes.ts:89
The helix parameter at the rung, in turns.