Skip to main content

Interface: OrbitalSurfaceOptions

Defined in: src/mobjects/molecular/OrbitalSurface.ts:61

Options for an OrbitalSurface.

Properties​

center?​

optional center: Vector3Tuple

Defined in: src/mobjects/molecular/OrbitalSurface.ts:65

The lobe center in world coordinates. Default: [0, 0, 0].


isoValue?​

optional isoValue: number

Defined in: src/mobjects/molecular/OrbitalSurface.ts:72

The |psi|-style threshold the lobe surface is drawn at. A smaller value grows the lobe, a larger value shrinks it. Default: 0.1.


negativeColor?​

optional negativeColor: string

Defined in: src/mobjects/molecular/OrbitalSurface.ts:78

The color of the negative phase. Default: '#4f8ac9'.


opacity?​

optional opacity: number

Defined in: src/mobjects/molecular/OrbitalSurface.ts:80

Opacity from 0 to 1. Default: 0.65.


positiveColor?​

optional positiveColor: string

Defined in: src/mobjects/molecular/OrbitalSurface.ts:76

The color of the positive phase. Default: '#ef476f'.


resolution?​

optional resolution: number

Defined in: src/mobjects/molecular/OrbitalSurface.ts:74

Marching-cubes grid cells per axis. Default: 40.


scale?​

optional scale: number

Defined in: src/mobjects/molecular/OrbitalSurface.ts:67

The spatial size of a lobe (the gaussian envelope width). Default: 2.


type?​

optional type: OrbitalType

Defined in: src/mobjects/molecular/OrbitalSurface.ts:63

The orbital shape. Default: 'pz'.