Examples of
commands
for making animations with
UCSF Chimera.
The scripts require a
Chimera build
from March 2012 or later.
See also:
movie content,
movie script examples
Play animations by clicking on images or or all videos.
|
|
|
|
turn y 3 120 | rock y 3 136 cycle 68 | move x -0.2 50 model #1 | scale 1.02 100 |
Rotate in 3 degree steps for 120 frames. Script. Details. | Rock back and forth for 136 frames. Script. Details. | Move 50 steps of 0.2 Angstroms. Script. Details. | Zoom in by factor 1.02 for 100 frames. Script. Details. |
|
|
|
|
reset p1 100 | fly 30 p1 p2 p3 p4 p5 | coordset #1 1,161 | set independent |
Restore a previously saved position. Script. Details. | Smoothly fly through 5 positions. Script. Details. | Play a molecular trajectory. Script. Details. | Rotate models about their own centers. Script. Details. |
|
|
|
|
rotation 1 2 180 | vop morph #0,1 frames 200 | play radial #1:.A-U,.X-Z 8 100 | play wave #2 #3 100 100 |
Rotate about a bond Script. Details. | Morph between density maps Script. Details. | Radially move surfaces. Script. Details. | Wave morph quaternary structure. Script. Details. |
|
|
play wiggle #0 24-67,68-119,... 200 | play zip #1:1-146.I #0:1-146.I |
Wiggle molecule Script. Details. | Interpolate from end to end. Script. Details. |
|
|
|
|
movie crossfade 50 | surftransparency 0 #0 68 | 2dlabel change l1 visibility hide frames 50 | transp 100 ligand frames 68 |
Fade between scenes. Script. Details. | Fade in a surface Script. Details. | Fade out a text label Script. Details. | Fade out molecule Script. Details. |
|
|
|
perframe "vol #0 level .1 level $1" range .1,.02 frames 100 | perframe "rib :$1" range 2,339 | perframe "hbond spec #2" frames 200 |
Change contour level. Script. Details. | Backbone trace. Script. Details. | Display changing hydrogen bonds. Script. Details. |
|
|
|
|
clip hither -0.5 120 | mclip #1 offset -20 slab true reset p1 100 | volume #0 planes y,45,90 | perframe "sop transform #1 radius $1" range 250,100 |
Clip front face. Script. Details. | Slab clipping. Script. Details. | Flip through density map planes Script. Details. | Icosahedral slices. Script. Details. |