# # 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 sucrose crossfading scene. open pubchem:5988 scale 1.2 set bg_color white set silhouette windowsize 200 150 copy file crossfade.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 wait 10 movie crossfade 50 repr sphere wait 10 movie crossfade 50 repr stick movie encode crossfade.mp4 crossfade.webm crossfade.ogv bitrate 200