ChimeraX docs icon

Command: wobble

Usage:
wobbleaxis [ angle  [ frames ]]] [ cycle  N ] [ aspect  fraction ] [ center  point-spec ] [ coordinateSystem  model-spec ] [ models  model-spec | atoms  atom-spec  ]

The wobble command rotates models in a figure-eight (or ∞ symbol) motion. The major rotation defining the length of the “8” is around axis (default y) with an amplitude of angle (default 30°), and the minor rotation defining the width of the “8” has an amplitude of angle multiplied by the aspect fraction (default 0.3). The motion occurs over N frames per cycle (default 136), continuing until all frames (default forever) have elapsed, or the motion is halted with the stop command.

The commands turn and roll can perform the same motion as the wobble command, with wobble and wobbleAspect options equivalent to the cycle and aspect options described here. They differ from wobble in their default parameter values. See also: rock, cofr, move, zoom, mousemode , making movies

The axis can be x, y, z or any of the other standard vector specifications.

The angle can be positive or negative.

The center default is the current center of rotation. Alternatively, the center can be given as x,y,z (three values separated by commas only), an atom-spec, or any of the other standard point specifications. If an atom-spec is used, the first model it contains will be used for reference frame pinning unless a coordinateSystem is also given.

A coordinateSystem can be specified by reference model number. If further motions are applied to an ongoing rotation, the center and axis will remain pinned relative to this reference model. If no reference model is given, axis coordinates will be interpreted in the screen coordinate system (X horizontal, Y vertical, Z in/out of screen) and center coordinates in the scene coordinate system.

The rotation applies to the specified models or atoms; if none are specified, the scene will be rotated as a whole. A movement of atoms cannot be undone except with a command that applies the opposite movement to the same atoms (not always easy to construct) or by reopening the original structure.

Commands continue to be processed while the requested motion is in progress. To pause command processing until the motion is finished, use the wait command.


UCSF Resource for Biocomputing, Visualization, and Informatics / August 2020