Some cool color effects could be obtained more easily if we could use variable names in RGB or hex colors in Jmol.

For example, I tried using something like:

redness=0
message = _here1
color [EMAIL PROTECTED], 0, 0]
@redness= redness+5
refresh
if ... etc.

but Jmol did not like the redness variable inside the color code command.

Lots of fade effects become feasible, especially if one can find out the current color of an object, i.e., get the color info on an object from Jmol. (Can that be done in Jmol at present?)

Frieda

///////////////////////////////////////////

Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to