# # 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 lysin ligand fading scene. open 2j8g turn x -90 ; center ligand ; scale 2 ; cofr ligand repr sphere ; ~disp solvent color gray,r :2-339 ; color yellow,a :2-339 set bg white windowsize 200 150 copy file transp.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 rock transp 100 ligand frames 68 wait 100 transp 0 ligand frames 68 wait 68 freeze movie encode transp.mp4 transp.webm transp.ogv bitrate 200