# # 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 nitroglycerin scene. open pubchem:4510 repr sphere set bg_color white set silhouette windowsize 200 150 copy file turn.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 turn y 3 120 wait movie encode turn.mp4 turn.webm turn.ogv bitrate 200