# # Normally setup for a movie would be done interactively, saved to a session, # and then loaded before running the animation commands. To make this example # self-contained we instead use commands to setup the scene here. # # Setup the nucleosome zipper morph scene. open 1aoi 1aoi ~disp ; ~rib #0:.I,.J ; ~rib #1:.A-H rainbow chain transp 50,r :.A-H move z -100 model #1 turn y -115 move y 10 ; scale 1.2 set bg_color white windowsize 200 150 copy file zip.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 play zip #1:147-292.J #0:147-292.J step -1 ; play zip #1:1-146.I #0:1-146.I wait 180 movie encode zip.mp4 zip.webm zip.ogv bitrate 300