# # 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 peptidoglycan bond rotation scene. open pubchem:25244276 set bg_color white set silhouette windowsize 200 150 copy file rotation.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 rotation 1 reverse @N2 @C9 rotation 1 2 180 wait movie encode rotation.mp4 rotation.webm rotation.ogv bitrate 200