6.4.1. Spin#

Record a full rotation of a molecular structure in ChimeraX.

Spinning view of the Cas9 molecular surface.

6.4.1.1. Spin command#

movie record supersample 3
turn y 1 360
wait 360
movie encode ~/Desktop/movie.mp4

6.4.1.2. One-line spin command#

movie record supersample 3; turn y 1 360; wait 360; movie encode ~/Desktop/movie.mp4

6.4.1.3. What each spin command does#

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

  • turn y 1 360 rotates the structure around the y-axis by 1 degree per frame for 360 frames.

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

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