Interface: DensitySurfaceOptions
Defined in: src/mobjects/molecular/DensitySurface.ts:74
Options for a DensitySurface.
Properties
color?
optionalcolor:string
Defined in: src/mobjects/molecular/DensitySurface.ts:83
The surface color. Default: '#8e7cc3' (a translucent purple).
grid
grid:
DensityGrid
Defined in: src/mobjects/molecular/DensitySurface.ts:76
The density grid to extract the surface from.
isoValue?
optionalisoValue:number
Defined in: src/mobjects/molecular/DensitySurface.ts:81
The iso level the surface is drawn at. Default: 0.5 * max(values) (half
the peak density).
opacity?
optionalopacity:number
Defined in: src/mobjects/molecular/DensitySurface.ts:85
Opacity from 0 to 1. Translucent so the core shows through. Default: 0.5.
resolution?
optionalresolution:number
Defined in: src/mobjects/molecular/DensitySurface.ts:87
Marching-cubes grid cells per axis. Default: 48.