$ global name=centering1
$ scene1 visualization=../TransAtlas.vmd 

# scene1

! re-centering the camera allows to zoom onto different parts
! of the molecule; however, some trial-and-error might be needed
! to put the highlighted element exactly in the center of view

center_view  selection='resid 1'
highlight    selection='resid 1' t=1s style=licorice mode=u alias=r1 color=type
zoom_in      scale=3.0 t=1s 
{highlight   t=1s mode=d alias=r1;
 zoom_out    scale=3.0}
     
center_view  selection='resid 132'
highlight    selection='resid 132' t=1s style=licorice mode=u alias=r132 color=element
zoom_in      scale=3.0 t=1s 
{highlight   t=1s mode=d alias=r132;
 zoom_out    scale=3.0}
do_nothing   t=1s

center_view  selection='resid 206'
highlight    selection='resid 206' t=1s style=licorice mode=u alias=r206 color=name
zoom_in      scale=3.0 t=1s 
{highlight   t=1s mode=d alias=r206;
 zoom_out    scale=3.0}
do_nothing   t=1s
