ProteinMotion
Reference navigation

Animation

proteinmotion.animation

Move objects, change representations, and interpolate coordinates.

Guide and rendered examples →

Classes

NameDescription
AnimationclassBase class for animations evaluated by the scene timeline.
AnimateclassBuild a fluent protein or camera animation through the .animate property.
RotateclassRotate a protein around its molecular centroid.
MorphclassInterpolate matching atoms to a protein or coordinate array.
DeformclassInterpolate coordinates toward the result of a user-supplied function.
PlayTrajectoryclassInterpolate through coordinate states in a trajectory.
FocusclassAnimate the camera to a protein or selected region.
FadeInclassFade a protein or annotation from transparent to its current opacity.
FadeOutclassFade a protein or annotation to zero opacity.
RepresentationclassTransition between cartoon, ribbon, ball-and-stick and surface, with optional nucleotide base styles.
RevealclassOpen a view-dependent cutaway onto a region: geometry in front of it fades inside a window that follows the camera.
ConcealclassClose the open cutaway.
FocusPullclassAnimate lens focus to a protein, residue selection or world point.
SecondaryStructureclassBlend the cartoon to new helix, strand, and coil states.
View module source