Search This Blog

Tuesday, April 30, 2013

How to draw cylinders using VMD


 set pos1 { 0 0 0 }
 set pos2 { 1 1 1 }
 set pos3 { 2 2 2 }
 set pos4 { 3 3 3 }

 draw material Opaque

 draw color yellow
 draw cylinder $pos1 $pos2 radius 0.3


 draw color red
 draw cylinder $pos2 $pos3 radius 0.3


No comments:

Labels