Skip to main content

Interface: SmoothER3DOptions

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:28

Options of SmoothER3D.

Extends​

Properties​

bend?​

optional bend: number

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:36

Curve the slab around an axis parallel to +Z at this distance (0 = flat). Default: 0


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


detail?​

optional detail: CellDetail

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

Segment and instance counts. Default: 'medium'

Inherited from​

Organelle3DOptions.detail


droplets?​

optional droplets: number

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:38

Number of lipid droplets. Default: 5


info?​

optional info: Partial<OrganelleInfo>

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

Caption overrides, merged over ORGANELLE_INFO.

Inherited from​

Organelle3DOptions.info


radius?​

optional radius: number

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:34

Tube radius. Default: 0.045


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


size?​

optional size: Vector3Tuple

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:30

Size of the slab [x, y, z]. Default: [2.4, 1.4, 0.45]


spacing?​

optional spacing: number

Defined in: src/mobjects/biology/cell3d/SmoothER3D.ts:32

Lattice spacing. Default: by detail (0.3, 0.22, 0.17)


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