absolutely possible. This was a couple of hours first try. I think I could
optimize the number of colors; right now it could go quite low. It will
take some experimentation. -- or finding the GIMP code where this is done
and just reproducing it.

background yellow;
set spinfps 5;
capture "caption-bh" spin x

See http://chemapps.stolaf.edu/jmol/test  for some examples.

Let's keep comparing and refining.



On Thu, Oct 16, 2014 at 9:54 AM, Brenton Horne <[email protected]>
wrote:

>  Hi
>
> Just one further improvement on capturing I'd like to suggest, if it's
> possible, that Jmol developers like yourself, Bob, get these GIF animations
> to be less grainy. For example, see this frame [1
> <http://i.imgur.com/BpSheOK.png>] of the GIF I created using the latest
> version of Jmol, the 2014.10.15 one, and the following code (mostly based
> on Rolf's code with some personalization to my own liking):
>
> background yellow;
> set antialiasImages off;
> animation mode loop
> animation fps 10
> ndegrees = 2
> nFrames  = 180
> capture "bupropion-capture-antialias_off.gif" 1000 transparent;
> for (var i  = 1; i<= nFrames; i++) {
>     rotate y @ndegrees;
>     refresh;
> }
> capture;
>
> Thanks for your time,
> Brenton
>
> On 16/10/2014 9:43 PM, Robert Hanson wrote:
>
> Conceivable. I started to look into that; the background color is 00000
> during processing, but then during antialiasing and transparency it has to
> be mixed in with other pixels. So it is not as simple as it sounds.
>
> On Thu, Oct 16, 2014 at 3:21 AM, Rolf Huehne <[email protected]>
> wrote:
>
>> Am 16.10.14 00:29, schrieb Robert Hanson:
>> > You can't expect a white background to ever work. It has to be a color
>> > not represented in the structure.
>> >
>> Finding a suitable background color manually can be quite difficult. It
>> might be very helpful to have a command that looks automatically for
>> unused colors in the current rendering. For simple cases it could report
>> a single suitable background color. For more complex cases (for example
>> with a color animation where you would have to find a color suitable for
>> all steps) it might alternatively provide a list of the named colors (to
>> avoid reporting millions) that are unused.
>>
>> For the export of single images this could even be done automatically.
>> But then one must be able to deactivate it for multiple images for an
>> animation.
>>
>> Regards,
>> Rolf
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
>
> --
> 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 
> [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
>
>


-- 
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

Reply via email to