Frieda Reichsman wrote:
> Thanks Rolf, just what I wanted.
> 
> Here is a link to a Jmol showing moving echo image gifs. I'm using  
> them to portray a simplistic view of chlorophyll absorbing a photon  
> and emitting an electron. This is for secondary school students  
> studying photosynthesis at a pretty gross level, and omits some  
> crucial stuff, admittedly - for example, no source of electron  
> replenishing is shown. That's for version 1.1...
> 
> http://homepage.mac.com/friedar22/Jmol/photosynthesis/
> 
> I think it would be cool to be able to show many photons of other  
> wavelengths/colors passing chlorophyll by, while only the red ones are  
> absorbed. One way I can envision this working would be to play an  
> animated gif loop, showing the other wavelength/color photons. But  
> this would require the animation to run in the background while  
> "regular" Jmol events run. I'm pretty sure Jmol cannot do animated  
> gifs, and especially running one simultaneously with other events. If  
> there's another way to do this, or a shot at a feature request, I'd  
> love to know; suggestions welcome...
> 
Very nice, Frieda!

It shouldn't be a problem to move several photon images individually
within your loop.

One way to achieve this would be to take the coordinate calculation out
of the animation loop.

So in a first step run a loop for each photon you want to animate that
just calculates the coordinates. So each photon can run at it's own
path, speed etc.. You just have to make sure that all arrays in the end
contain the same number of coordinates.

In a second step you actually run the animation, taking the coordinates
for each photon from its coordinate array.

Regards,
Rolf

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to