documentation:
___JmolVersion="13.3.6_dev_2013.09.22"
new feature: set animationMode "ONCE" "LOOP" "PALINDROME"
new feature: show animationMode; x = animationMode
new feature: CAPTURE command, including ROCK and SPIN
-- application and signed applet only (no JS)
-- creates animated GIF
-- uses ANIMATION FPS to determine play-back rate.
CAPTURE "filename"
-- starts capturing
-- uses ANIMATION MODE to determine looping
-- both PALINDROME and LOOP create looping; ONCE (default) does not
CAPTURE "filename" ROCK x|y|z degrees
-- does a clean rocking of the molecule about one of the three major
axes
-- axis and degrees optional; y 5 assumed
-- based on: rotate Y 10 10;delay 2.0; rotate Y -10 -10; delay
2.0;rotate Y -10 -10; delay 2.0;rotate Y 10 10;delay 2.0
-- uses LOOP mode
CAPTURE "filename" SPIN x|y|z
-- does a full spin of the molecule about one of the three major axes
-- axis optional; y assumed
-- based on: rotate Y 360 30;delay 15.0;
-- uses LOOP mode
CAPTURE off/on
-- temporarily disables/enables capturing
CAPTURE "" or just CAPTURE
-- end capturing
On Sun, Sep 22, 2013 at 9:10 PM, Robert Hanson <[email protected]> wrote:
> http://chemapps.stolaf.edu/jmol/zip/jmol-13.3.6_2013.09.22.zip
> see also
>
> http://chemapps.stolaf.edu/jmol/docs/img/haptic2c.gif
> http://chemapps.stolaf.edu/jmol/docs/img/haptic2.gif
> http://chemapps.stolaf.edu/jmol/docs/img/cycloflip.gif
>
> Turns out, though, animated GIF files are pretty big. Maybe there are some
> tricks, but if a GIF file is 2.5 Mb, you might as well just load the full
> Jmol applet and do it all interactively. Point being that animated GIFs are
> really only for very small images, I think. But it was fun getting this to
> work, and I will look into the webm idea.
>
> Bob
>
>
>
>
>
>
>
> On Sat, Sep 21, 2013 at 2:26 PM, Otis Rothenberger
> <[email protected]>wrote:
>
>> Bob,
>>
>> I like the idea of automating image capture.
>>
>> Would your GIF/IMAGE capture be able to capture a molfile frames
>> animation that is being run by another script?
>>
>> Could you set molecular stages in Jmol and control individual IMAGE frame
>> capture manually? This is tedious, but sometimes useful.
>>
>> Otis
>>
>> --
>> Otis Rothenberger
>> [email protected]
>> http://chemagic.com
>>
>>
>>
>>
>> On Sep 21, 2013, at 11:38 AM, Robert Hanson wrote:
>>
>> Working on a CAPTURE command:
>>
>> capture "motions.gif"
>> capture off
>>
>> Idea is to create animated GIFs either from the app, signed applet, or
>> HTML5. The CAPTURE command would start capturing image production and
>> sending it to an output stream (local file or web-based), and the capture
>> OFF command would close the stream and deliver the file. I thought I could
>> use
>>
>> set ANIMATIONFPS
>>
>> to set the frame rate for the GIF animation.
>>
>> I'm most of the way through re-writing the GIF encoder to allow this, and
>> it is going very well.
>>
>> I was thinking we also could have something like
>>
>> ANIMATION CAPTURE "animation.gif"
>>
>> I don't think it's going to be easy to write a MOV or MP4 writer, but
>> another option would be to create a ZIP file containing all the frames in
>> other image formats such as PNG or JPG.
>>
>> Suggestions are welcome.
>>
>> Bob
>>
>>
>> --
>> Robert M. Hanson
>> Larson-Anderson Professor 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
>>
>> ------------------------------------------------------------------------------
>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>> SharePoint
>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>> includes
>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk_______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
>> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
>> SharePoint
>> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
>> includes
>> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor 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
>
>
--
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users