ChimeraX docs icon

Command: fly

Usage:
flymaster-frames ]  pos1  [[ frames1_2]  pos2] [[ frames2_3]  pos3] ... [[ framesN-1_N]  posN]

Fly uses cubic interpolation to smoothly traverse a series of views previously named and saved with view name. The view command can also interpolate between views, but it only considers a pair of views (start and end) at a time, whereas fly can consider multiple views and generate a path that visits and leaves intermediate views without discontinuities in motion. See also: making movies

Fly starts abruptly at the first view, pos1, then proceeds through the list of subsequent views. Besides views previously saved with view name, the current view can be indicated with the name start. (Using the name start in the fly command also saves the view; it could be restored later with view.) The master-frames argument (default 100) is how many frames each “leg” of the journey (from one view to the next) should take, unless overridden by a frames argument specific to that leg.

Examples:

fly 20 start p1
– go from the current view to p1 in 20 frames
fly p1 p2 p3
– go from p1 to p2 in 1 frame and then to p3 in 1 frame
fly 50 p1 p2 p3
– go from p1 to p2 in 50 frames and then to p3 in 50 frames
fly p1 10 p2 25 p3
– go from p1 to p2 in 10 frames and then to p3 in 25 frames
fly 40 p1 100 p2 p3
– go from p1 to p2 in 100 frames and then to p3 in 40 frames


UCSF Resource for Biocomputing, Visualization, and Informatics / March 2021