Interface: Blob3DOptions
Defined in: src/mobjects/three-d/Blob3D.ts:15
Options for creating a Blob3D.
Extends
OrganicMeshOptions
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/organicMesh.ts:416
Center position [x, y, z]. Default: [0, 0, 0]
Inherited from
OrganicMeshOptions.center
color?
optionalcolor:string
Defined in: src/mobjects/three-d/organicMesh.ts:412
Color as a CSS color string.
Inherited from
OrganicMeshOptions.color
detail?
optionaldetail:number
Defined in: src/mobjects/three-d/Blob3D.ts:29
Icosphere subdivision level (triangles = 20 * 4^detail). Default: 4
lobes?
optionallobes:number
Defined in: src/mobjects/three-d/Blob3D.ts:21
Number of seeded round lobes that bulge out. Default: 6
lobeSize?
optionallobeSize:number
Defined in: src/mobjects/three-d/Blob3D.ts:23
Angular width of one lobe in radians (smaller = tighter bumps). Default: 0.6
lumpiness?
optionallumpiness: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?
optionalopacity:number
Defined in: src/mobjects/three-d/organicMesh.ts:414
Opacity from 0 to 1. Default: 1
Inherited from
OrganicMeshOptions.opacity
radius?
optionalradius:number
Defined in: src/mobjects/three-d/Blob3D.ts:17
Base radius before the lumps. Default: 1
scale?
optionalscale: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?
optionalseed:number
Defined in: src/mobjects/three-d/Blob3D.ts:27
Seed for the deterministic shape. Default: 1
wobble?
optionalwobble: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