Skip to main content

Interface: MorphMoleculeOptions

Defined in: src/mobjects/molecular/MorphMolecule.ts:50

Options for morphMolecule.

Properties​

frames?​

optional frames: Conformation[]

Defined in: src/mobjects/molecular/MorphMolecule.ts:62

A multi-frame trajectory instead of a single to. The morph plays from the molecule's current positions through each frame in order.


molecule​

molecule: Molecule3D

Defined in: src/mobjects/molecular/MorphMolecule.ts:52

The molecule to morph.


runTime?​

optional runTime: number

Defined in: src/mobjects/molecular/MorphMolecule.ts:64

The total run time in seconds. Default: 2.


to?​

optional to: Conformation

Defined in: src/mobjects/molecular/MorphMolecule.ts:57

The target positions, one per atom, in atom order. Ignored when frames is given; one of to or frames is required.