Brian wrote:
> I'm in the process of creating animations for the Web
> site http://www.keayb.uklinux.net using Jmol10pre12
> and I was wondering if there is a way to print text to
> the screen while the animation is playing, for
> example, in order to explain to the viewer what is
> being displayed.
Brian,
Yes, Jmol has some scripting commands for writing text to the applet
window. They are extensions to the RasMol scripting language. We are in
the process of getting them documented.
set echo top|middle|bottom|none {left|center|right}
echo your favorite message
color echo {color-specification}
font echo [size] {serif|sanserif|monospace} {bold|italic|bolditalic|normal}
You can write three lines to the screen: top, middle, or bottom
For each of these you can align: left, center, or right
issue the set command to pick your echo target
Then send some text
You can use the 'delay {seconds}' command to separate you echo statements
The 'color' and 'font' commands affect the current echo target
This script should work
set echo top right;
color echo green;
font echo 20 serif;
echo "Jmol";
set echo middle center;
color echo orange;
echo "is very";
set echo bottom left;
font echo 30 sanserif italic;
color echo aqua;
echo "cool!";
Miguel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users