# # 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 maltotriose scene. open pubchem:871 turn z 75 ; turn x 45 ; scale 1.5 set bg_color white set silhouette windowsize 200 150 copy file rock.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 # Two cycles of rocking rock y 3 136 cycle 68 wait movie encode rock.mp4 rock.webm rock.ogv bitrate 200