Animate

Animate values and geometry over frames

Animate Action

Inputs

Name Type Description
Start Int
Length Int

Outputs

Name Type Description
Factor Float
Active Bool Whether the input Value is between (and including) the lower and upper bounds
Stop Int

API Reference: nodes.geometry.AnimateAction

Animate Frames

Video

Animate the atoms of a structure, based on the frames of a trajectory from the Frames collection in the input. The structure animates through the trajectory from the given start frame to the given end frame, as the Animate 0..1 value moves from 0 to 1. Values higher than 1 start at the beginning again and the trajectory will loop repeating every 1.00. Position and b_factor are interpolated if available. By default linear interpolation is used. Smoothing in and out of each frame can be applied with the Smoother Step, or no interpolation at all.

Inputs

Name Type Description
Atoms Geometry Atomic geometry that contains vertices and edges
Selection Bool Selection of atoms to apply this node to
Frames Collection Collection which holds the frames of the trajectory
Smoother Step Bool Ease in and out of the individual frames if interpolating
Interpolate Bool Whether to interpolate between frames of a trajectory or snap
Frame Float Which frame to select from the collection. The fraction component of the float is how much to interpolate between the current and next frame

Outputs

Name Type Description
Atoms Geometry Atomic geometry with new positions based on the trajectory
All Frames Geometry Each frame from the collection of coordinates is output in the a single mesh. They now contain an additional attribute frame_id to specify which structure they are from

API Reference: nodes.geometry.AnimateFrames

Animate Peptide to Curve

Video

Take the protein residues from a structure and align then along an input curve. Editing the curve will change how the atoms are arranged. The output atoms can be styled as normal.

Inputs

Name Type Description
Atoms Geometry Atomic geometry that contains vertices and edges
Curve Geometry
Offset Float
Start Float
End Float
Rotate Float
Twist Float

Outputs

Name Type Description
Atoms Geometry

API Reference: nodes.geometry.AnimatePeptideToCurve

Animate Trails

Add trails to the atoms as they are animated, which trail the specified number of frames behind the atoms

Inputs

Name Type Description
Atoms Geometry Atomic geometry that contains vertices and edges
Selection Bool Selection of atoms to apply this node to
Trail Threshold Menu
Trail Curve Type Menu
Trail Frames Int Number of previous frames from the trajectory to display
Trail Radius Float
Trail Resolution Int Tail radial resolution
Trail Subdivisions Int
Trail Cutoff Float Threshold over which the spline is broken up
Shade Smooth Bool Apply smooth shading to the created geometry
Material Material Material to apply to the resulting geometry

Outputs

Name Type Description
Geometry Geometry

API Reference: nodes.geometry.AnimateTrails

Animate Value

Video

Animate a float value between the specified min and max values, over specified range of frames. If clamped, frames above and below the start and end will result in the min and max output values, otherwise it will continue to linearly interpolate the value beyond the min and max values.

Inputs

Name Type Description
Smoother Step Bool Ease out and in from the min and max values
Clamped Bool Whether to clamp the interpolated value to the max
Frame Start Int Frame to start the animation on
Frame End Int Frame to finish the animation on
Value Min Float Value to start animation from
Value Max Float Value to end animation at

Outputs

Name Type Description
Value Float Animated value that interpolates from min to max over frames

API Reference: nodes.geometry.AnimateValue

Animate Wiggle

Video

Create a procedural animation of side-chain movement. ‘Wiggles’ the side-chains of peptide amino acids based on the b_factor attribute. Wiggle is currently only supported for protein side-chains and does not check for steric clashing so higher amplitudes will result in strange results. The animation should seamlessly loop every 1.00 of the Animate 0..1 input.

Inputs

Name Type Description
Atoms Geometry Atomic geometry that contains vertices and edges
Selection Bool Selection of atoms to apply this node to
b_factor Float Amount that b_factor changeds the amplitude of wiggling
Amplitude Float Overall amplitude of the wiggling
Amp. Axis Float Aplitude for the rotation around the bond axes
Amp. Euler Float Amplitude for applying euler rotations separate to the axis
Speed Float Speed at which the wiggle is applied, 3 will repeat 3 times
Animate Float Controls the animation of the wiggle, repeating every 1.00

Outputs

Name Type Description
Atoms Geometry The animated atomic geometry

API Reference: nodes.geometry.AnimateWiggle