Hi, Robert
I think I may have found a bug in this new release. This [1
<http://i.imgur.com/SLGJbQn.gifv><nFrames%20=%2010;,nDegrees%20=%2036;,thisFrame%20=%200;,,CAPTURE%20%22file.gif%22%20transparent,,message%20loop;,thisFrame%20=%20thisFrame%20+%201;,fileName%20=%20name.replace%28%220000%22,%22%22%20+%20%28%220000%22%20+%20thisFrame%29[-4][0]%29;,rotate%20y%20@ndegrees;,frame%20next;%20#%20only%20use%20this%20if%20you%20have%20a%20multiframe%20file.,refresh;,if%20%28thisFrame%20%3C%20nFrames%29;goto%20loop;endif;%01##>]
is what I get from this script:
nFrames = 10;
nDegrees = 36;
thisFrame = 0;
CAPTURE "file.gif" nFrames transparent
message loop;
thisFrame = thisFrame + 1;
fileName = name.replace("0000","" + ("0000" + thisFrame)[-4][0]);
rotate y @ndegrees;
frame next;
refresh;
if (thisFrame < nFrames);goto loop;endif;##
Thanks for your time,
Brenton
On 15/10/2014 2:45 PM, Robert Hanson wrote:
http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.8_2014.10.14.zip
Jmol.___JmolVersion="14.3.8_2014.10.14"
new feature: transparent GIF using WRITE GIFT "xxx.gif"
new feature: GIF images use floyd steinberg dithering to approximate
full palette.
new feature: CAPTURE "file.gif" 10 transparent
- or CAPTURE "file.gift" -- "gift" automatically changed to "gif"
Thanks, Rolf. I never guessed that dithering would be so capable of
getting around the 256-color problem.
And now I have a killer web page that lets me play in real time with
images from my web cam! --
http://chemapps.stolaf.edu/jmol/test/dither.htm -- which I adapted to
test the 216-color dither I implemented. Click on Go webcam to see my
solution.
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users