# # 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 potassium channel clipping scene. open pubchem:2244 turn 1,1,0 70 move y -2 2dlabel create l1 text Aspirin color black ypos .7 xpos .2 size 48 set bg_color white set silhouette windowsize 200 150 copy file 2dlabel.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 2dlabel change l1 visibility hide frames 50 wait movie encode 2dlabel.mp4 2dlabel.webm 2dlabel.ogv bitrate 200