Interface: ImplicitSurfaceOptions
Defined in: src/mobjects/three-d/ImplicitSurface.ts:10
Options for creating an ImplicitSurface.
Properties
center?
optionalcenter:Vector3Tuple
Defined in: src/mobjects/three-d/ImplicitSurface.ts:32
Center position [x, y, z]. Default: [0, 0, 0]
color?
optionalcolor:string
Defined in: src/mobjects/three-d/ImplicitSurface.ts:24
Color as CSS color string. Default: '#58c4dd' (Manim blue)
doubleSided?
optionaldoubleSided:boolean
Defined in: src/mobjects/three-d/ImplicitSurface.ts:30
Render both sides. Default: true
func
func:
ScalarField3D
Defined in: src/mobjects/three-d/ImplicitSurface.ts:12
The scalar field f(x, y, z). The surface is the level set f = isoLevel.
isoLevel?
optionalisoLevel:number
Defined in: src/mobjects/three-d/ImplicitSurface.ts:22
The iso level of the extracted surface. Default: 0
opacity?
optionalopacity:number
Defined in: src/mobjects/three-d/ImplicitSurface.ts:26
Opacity from 0 to 1. Default: 1
resolution?
optionalresolution:number
Defined in: src/mobjects/three-d/ImplicitSurface.ts:20
Grid cells per axis for the marching-cubes sampling. Default: 24
vertexColors?
optionalvertexColors:Float32Array
Defined in: src/mobjects/three-d/ImplicitSurface.ts:39
Optional per-vertex RGB colors (0..1), flat [r, g, b, …] parallel to the
surface vertices (one triple per vertex, so three values per position). When
set and its length equals the position array length, the mesh uses vertex
colors instead of the single color. A mismatched length is ignored.
wireframe?
optionalwireframe:boolean
Defined in: src/mobjects/three-d/ImplicitSurface.ts:28
Render as wireframe. Default: false
xRange?
optionalxRange: [number,number]
Defined in: src/mobjects/three-d/ImplicitSurface.ts:14
X range [min, max]. Default: [-2, 2]
yRange?
optionalyRange: [number,number]
Defined in: src/mobjects/three-d/ImplicitSurface.ts:16
Y range [min, max]. Default: [-2, 2]
zRange?
optionalzRange: [number,number]
Defined in: src/mobjects/three-d/ImplicitSurface.ts:18
Z range [min, max]. Default: [-2, 2]