Function: dockLigand()
dockLigand(
options):Animation
Defined in: src/mobjects/molecular/dock.ts:58
Compose the docking animation. The ligand is moved to target + startOffset
at construction, so the caller only adds it to the scene and plays the result.
Parameters
options
The docking options.
Returns
An Animation (an AnimationGroup) moving the ligand to the target while optionally spinning it.