$ global fps=20 name=overlay9
$ main_scene visualization=../TransAtlas.vmd resolution=1500,1000
$ scene1 visualization=../TransAtlas.vmd resolution=1500,1000
$ scene2 visualization=../TransAtlas.vmd resolution=1500,1000

! both scene1 and scene2 are composed atop main_scene, but have
! transparent backgrounds so this is not visible

# main_scene
translate     vector=0.5,0,0
do_nothing    t=1s
{animate      t=2s frames=17:0;
 add_overlay  scene=scene1 transparent_background=t mode=u}
{do_nothing   t=1s;
 add_overlay  text=closed origin=0.27,0.75 mode=u}
{animate      t=2s frames=0:17;
 add_overlay  scene=scene2 transparent_background=t mode=u}
{do_nothing   t=2s;
 add_overlay  text=open origin=0.32,0.22 mode=u}

# scene1
translate     vector=0.5,0,0
animate       frames=17
{zoom_out     scale=2;
 translate    vector=-1.3,0.4,0 t=1s}
do_nothing    t=6s

# scene2
translate     vector=0.5,0,0
animate       frames=0
{zoom_out     scale=2;
 translate    vector=-1.25,-0.35,0 t=1s}
do_nothing    t=3s
