That's right. We could make it available in JSmol, but I'd rather not.
These files can get VERY large (50-100MB easily), and without FileWriter
API (almost no browsers supporting this yet), that would require a
round-trip to a server. Besides, where would you store it on your iPad? :)
Any page utilizing JSmol/HTML can simply also use JSmol/Signed Java Applet
for these purposes.
Bob
On Mon, Sep 23, 2013 at 10:23 AM, Amjad Farooq <[email protected]> wrote:
> Bob,
>
> This new feature to produce a GIF animation is very useful. However, I
> assume it is only available in Jmol and not JSmol. Is that correct?
>
> If this feature is also available in JSmol, can you please remind us what
> the command to generate such an animation would be.
>
> Thanks!
> Amjad
>
>
>
>
>
> On Sun, Sep 22, 2013 at 10: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
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>
--
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
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users