Interpolate Sequence

Description

Given a sequence of steps from an animated molecule sequence, this module interpolates a given number of positions between each pair of timesteps. For now only the positions are interpolated. The interpolation is linear.

After a reset, a new connection or a change in molecule size the input step is copied to output. When a new step is received, the requested number of interpolated steps are output and then the input step is copied to output.

Input Ports

structure_in MoleculeType Sequence of molecular data.

Parameters

Points added slider Steps to be added between every two steps received as input.
Reset button Reset the module so the next step received will be the first of a new sequence.

Output Ports

structure_out MoleculeType The input sequence of molecular data plus the interpolated steps.

Limitations

For now only the positions are interpolated. The interpolation is linear.

Return to index