VMD-L Mailing List
From: Nima Emadi (deeepsky_at_gmail.com)
Date: Thu Jan 28 2016 - 14:10:33 CST
- Next message: Peter Freddolino: "Re: tcl scripting for adding hydrogens to particular atoms in multiple pdb files"
- Previous message: Charles McAnany: "Feature request: Change printf( to fprintf(stderr, in molfile plugins"
- Next in thread: Josh Vermaas: "Re: making a movie in a tcl script using graphics commands"
- Reply: Josh Vermaas: "Re: making a movie in a tcl script using graphics commands"
- Reply: Nima Emadi: "Re: making a movie in a tcl script using graphics commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear all,
I want to make a movie from a given MD trajectory of some cylindrical rigid
particles.
Using graphics command in tcl, I'm able to produce a single snapshot.
However I am stuck when I want to add a new frame to my molecule.
Simplified version of what I have in my tcl script (for just one particle
which moves along z axis) is:
color Display Background white
mol new
graphics 0 color 7
graphics 0 cylinder {0 0 0} {0 0 1} radius 0.4 resolution 30 filled yes
animate dup 0
graphics 0 delete all
graphics 0 cylinder {0 0 0.5} {0 0 1.5} radius 0.4 resolution 30 filled yes
- Next message: Peter Freddolino: "Re: tcl scripting for adding hydrogens to particular atoms in multiple pdb files"
- Previous message: Charles McAnany: "Feature request: Change printf( to fprintf(stderr, in molfile plugins"
- Next in thread: Josh Vermaas: "Re: making a movie in a tcl script using graphics commands"
- Reply: Josh Vermaas: "Re: making a movie in a tcl script using graphics commands"
- Reply: Nima Emadi: "Re: making a movie in a tcl script using graphics commands"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]