Skip to main content

Interface: Blob3DOptions

Defined in: src/mobjects/three-d/Blob3D.ts:15

Options for creating a Blob3D.

Extends​

  • OrganicMeshOptions

Properties​

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


detail?​

optional detail: number

Defined in: src/mobjects/three-d/Blob3D.ts:29

Icosphere subdivision level (triangles = 20 * 4^detail). Default: 4


lobes?​

optional lobes: number

Defined in: src/mobjects/three-d/Blob3D.ts:21

Number of seeded round lobes that bulge out. Default: 6


lobeSize?​

optional lobeSize: number

Defined in: src/mobjects/three-d/Blob3D.ts:23

Angular width of one lobe in radians (smaller = tighter bumps). Default: 0.6


lumpiness?​

optional lumpiness: number

Defined in: src/mobjects/three-d/Blob3D.ts:19

Largest radial bump as a fraction of the radius (0 = sphere). Default: 0.25


opacity?​

optional opacity: number

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

Opacity from 0 to 1. Default: 1

Inherited from​

OrganicMeshOptions.opacity


radius?​

optional radius: number

Defined in: src/mobjects/three-d/Blob3D.ts:17

Base radius before the lumps. Default: 1


scale?​

optional scale: Vector3Tuple

Defined in: src/mobjects/three-d/Blob3D.ts:31

Per-axis scale [x, y, z] applied after the lumps (flatten, stretch). Default: [1, 1, 1]


seed?​

optional seed: number

Defined in: src/mobjects/three-d/Blob3D.ts:27

Seed for the deterministic shape. Default: 1


wobble?​

optional wobble: number

Defined in: src/mobjects/three-d/Blob3D.ts:25

Weight of the low-frequency wobble added on top of the lobes (0..1). Default: 0.35