6.4.2. Rocking#

Record a molecular structure rocking back and forth in ChimeraX.

Rocking view of the Cas9 structure.

6.4.2.1. Rock command#

movie record supersample 3
rock y 25 360
wait 360
movie encode ~/Desktop/movie.mp4

6.4.2.2. One-line rock command#

movie record supersample 3; rock y 25 360; wait 360; movie encode ~/Desktop/movie.mp4

6.4.2.3. What each rock command does#

  • movie record supersample 3 begins recording and uses supersampling to improve image quality.

  • rock y 25 360 rocks the structure around the y-axis through 25 degrees over 360 frames.

  • wait 360 waits for the 360-frame motion to finish before running the next command.

  • movie encode ~/Desktop/movie.mp4 saves the recording as movie.mp4 on the Desktop.