Sorry, Miguel, if that looked anything but messy. I've broken it down and annotated the script a bit so you can see what makes it do what it does. Some are rasmol-derived commands; the 'move' is chime script, if I recall, which handles rotations, moves, and slabs.
--Phil SCRIPT=" reset; centre atomno=2827; spacefill on; rotate y 21; # let the slab cut through the molecule while spinning set slabmode reject; slab 0; move 0 0 1080 0 0 0 0 100 24; # rotate 90 degrees over the course of 2 sec move 0 0 90 0 0 0 0 0 2; #give each segment of peptide chain its color set ribbons 3; select 1-59; colour ribbon white; ribbons; select 60-74; colour ribbon magenta; ribbons; select 75-80; colour ribbon cyan; ribbons; select 81-119; colour ribbon yellow; ribbons; # give the potassium its spacefilling balls and wireframe select within(3.5, *.k); wireframe 40; spacefill; select *; wireframe off; # give O, N, C, and S spacefilling balls and rotate 45 degrees on axis select oxygen or nitrogen; spacefill 346; select carbon or sulfur; spacefill 394; move 0 0 45 0 0 0 0 0 1; # reduce O, N, C, and S balls by 10% and rotate 45 degrees on axis, and so on... select oxygen or nitrogen; spacefill 308; select carbon or sulfur; spacefill 350; move 0 0 45 0 0 0 0 0 1; #... #now they're small, exposing the ribbons--turn off spacefill select oxygen or nitrogen or carbon or sulfur; spacefill off; move 0 0 45 0 0 0 0 0 1; # rotate the whole molecule 90 degrees to see it from side again centre atomno=2827; move -90 0 0 0 0 0 0 0 2; # let the people see the pretty ribbons spin move 0 270 0 0 0 0 0 0 6; # now make the spacefilling atoms reappear while spinning, starting small... select oxygen or nitrogen; spacefill 38; select carbon or sulfur; spacefill 44; move 0 45 0 0 0 0 0 0 1; # increment the sizes, still spinning select oxygen or nitrogen; spacefill 77; select carbon or sulfur; spacefill 88; #...more increments until # 'full' size select oxygen or nitrogen; spacefill 346; select carbon or sulfur; spacefill 394; move 0 45 0 0 0 0 0 0 1; select all; spacefill on; ribbons off; move 0 180 0 0 0 0 0 0 4; # while spinning, move back into the distance, wait, then jump back move 0 270 0 -100 0 0 0 0 6; delay 1; slabmode off; move 0 0 0 100 0 0 0 0 1 ;"> ----- Original Message ----- From: Miguel <[EMAIL PROTECTED]> Date: Thursday, October 30, 2003 12:15 pm Subject: [Jmol-users] KcsA animation > > http://www.soils.wisc.edu/virtual_museum/kcsa/index.html > > and try the button labelled "Animate KcsA!!" > > ... > > I'd like to be able to do at least the same w/ jmol, if not > > better...(such as scaling the atom sizes proportionately and > smoothly,> instead of incrementally?) > > Certainly something we should work towards. > > Do you have a simpler script you can recommend for starters? > > Miguel > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Jmol-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jmol-users > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users