From: Paul Tangney (tangney_at_civet.berkeley.edu)
Date: Sun Feb 23 2003 - 20:34:51 CST

Hello,
I am trying to make movies from pdb-file trajectories where the
colors of the atoms are defined by the 'beta' index and are updated at
each step.
I can't get them to update at each step.

I found a previous posting about this problem but I couldn't find the
example
script mentioned in the reply (below). Do I need to learn
Tcl or is there a quick-fix ? Does anybody have an example script ?

Thanks for help,

Paul Tangney

P.S : Great program, by the way. I just started using it.

>Dear Christopher,
> Yes, you can write a script that lets you change coloring as a movie
>progresses, though its sometimes a bit tricky to make it fast too..
>There's a "beta color" example script in the VMD manual here:
> http://www.ks.uiuc.edu/Research/vmd/current/ug/node182.html
>
> You could re-color the molecule every frame by doing a Tcl trace
> on the active VMD frame, etc. You could also do it by driving
> it in a loop with animate goto and setting the colors explicitly.
> I think this question has come up enough that perhaps its time for
> me to write an easy-to-read example of the various ways of doing
> this. Let us know if you need more information about this.
> Otherwise, I'll see if I can take some time and write up a nice
> example of how to do this.
>
> Thanks,
> John Stone

--
Paul Tangney
OoOo-------------------------------------------------------------
University of California at Berkeley   /    Phone : (510) 642-2635
Physics Department #7300       /       Home Phone : (510) 883-1259
366 Le Conte Hall             /               Fax : (510) 643-9473
Berkeley, CA 94720       /      Email : tangney_at_civet.berkeley.edu
Home page : http://civet.berkeley.edu/tangney/
-----------------------------------------------------------------