Skip to main content

Interface: Mitochondrion3DOptions

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:35

Options of Mitochondrion3D.

Extends​

Properties​

bend?​

optional bend: number

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:41

Bend of a whole mitochondrion in radians (ignored for a cutaway). Default: 0.35


center?​

optional center: Vector3Tuple

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:24

Centre of the organelle in its parent frame. Default: [0, 0, 0]

Inherited from​

Organelle3DOptions.center


color?​

optional color: string

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:26

Main color. Default: the organelle palette color.

Inherited from​

Organelle3DOptions.color


colors?​

optional colors: Record<string, string>

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:31

Per-name color overrides, by part name or palette name (for example { cristae: '#ff8a80', ribosome: '#e040fb' }).

Inherited from​

Organelle3DOptions.colors


cristae?​

optional cristae: number

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:45

Number of cristae folds (cutaway). Default: by detail (5, 7, 9)


cutaway?​

optional cutaway: boolean

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:43

Cut the top off to show the cristae. Default: false


detail?​

optional detail: CellDetail

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:35

Segment and instance counts. Default: 'medium'

Inherited from​

Organelle3DOptions.detail


direction?​

optional direction: Vector3Tuple

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:47

Direction of the long axis. Default: [1, 0, 0]


info?​

optional info: Partial<OrganelleInfo>

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:42

Caption overrides, merged over ORGANELLE_INFO.

Inherited from​

Organelle3DOptions.info


length?​

optional length: number

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:37

End-to-end length. Default: 1.6


lid?​

optional lid: boolean

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:51

Cutaway only: start closed under a lid that Mitochondrion3D.openAnimation removes. Default: false


radius?​

optional radius: number

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:39

Radius of the rod. Default: 0.3


seed?​

optional seed: number

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:33

Seed for the random layout of the parts. Default: 1

Inherited from​

Organelle3DOptions.seed


style?​

optional style: CellLook

Defined in: src/mobjects/biology/cell3d/cell3dTypes.ts:40

The look of every part: 'manim' (bright rim stroke over a soft body), 'cartoon', toon options, or false for plain shading. Default: 'manim'

Inherited from​

Organelle3DOptions.style


up?​

optional up: Vector3Tuple

Defined in: src/mobjects/biology/cell3d/Mitochondrion3D.ts:49

Direction the cut faces (and the bend plane normal). Default: [0, 0, 1]