ChimeraX docs icon

Command: crossfade

Usage:
crossfadeframes ]

The crossfade command fades the current display image over a specified number of subsequent frames, default 30. Each pixel is simply interpolated linearly, with the fractional contribution from the initial image decreasing as the contribution from the other frame increases. Motions are not interpolated; gradually changing the orientation or position of some object instead requires using frame arguments in the commands performing those changes (move, turn, view, etc.). See also: making movies

Examples:

crossfade; hide ligand; wait 30
crossfade; show ligand; wait 30
crossfade 60; style ligand sphere; wait 60
crossfade 60; set bg light blue; wait 60
crossfade 100; light full; wait 100

UCSF Resource for Biocomputing, Visualization, and Informatics / January 2017