Skip to main content

Interface: CellMembrane3DOptions

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

Options of CellMembrane3D.

Extends​

Properties​

aspect?​

optional aspect: Vector3Tuple

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

Per-axis shape scale [x, y, z]: a flattened cell. Default: [1.15, 1, 0.62]


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


cutaway?​

optional cutaway: CellCutaway

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

How the cell is opened. Default: 'bowl'


cutHeight?​

optional cutHeight: number

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

Bowl only: height of the cut plane as a fraction of the half-height. Default: 0.12


detail?​

optional detail: CellDetail

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

Segment and instance counts. Default: 'medium'

Inherited from​

Organelle3DOptions.detail


info?​

optional info: Partial<OrganelleInfo>

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

Caption overrides, merged over ORGANELLE_INFO.

Inherited from​

Organelle3DOptions.info


innerColor?​

optional innerColor: string

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

Color of the inner face. Default: a dark shade of the membrane color.


radius?​

optional radius: number

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

Radius along Y before the aspect scale. Default: 4


rimColor?​

optional rimColor: string

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

Color of the cut rim band. Default: a light shade of the membrane color.


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


thickness?​

optional thickness: number

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

Wall thickness (both leaflets). Default: 0.05 * radius


wedgeAngle?​

optional wedgeAngle: number

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

Wedge only: angle of the removed wedge. Default: PI / 2


wedgeCenter?​

optional wedgeCenter: number

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

Wedge only: azimuth of the middle of the removed wedge (radians, about +Z). Default: -1.2