VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Tue Feb 19 2002 - 18:41:02 CST
- Next message: jen ramus: "Loading new molecules into VMD from an application"
- Previous message: John Stone: "VMD CVS and build procedure changes..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
vmd_at_ks.uiuc.edu
> I need to be able to write a script that allows me to change the color
> properties of atoms as a movie progresses. For example, I need to color
> code atoms by center of mass Kenetic energy. The Kenetic energy changes
> as the movie progresses from frame to frame. I need VMD to re-color the
> images on a per frame basis. Is this possible and what are some
> suggestions on how to do this.
>
> Christopher Garrick
> College of Charleston
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: jen ramus: "Loading new molecules into VMD from an application"
- Previous message: John Stone: "VMD CVS and build procedure changes..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]