You can run the  minimization without updates, and it is its own 'thread'
so it might not take too much to get that working. But it's not trivial, I
think. Check

http://sourceforge.net/p/jmol/code/HEAD/tree/branches/v14_2/Jmol/src/org/jmol/minimize/MinimizationThread.java

and  what calls that:

http://sourceforge.net/p/jmol/code/HEAD/tree/branches/v14_2/Jmol/src/org/jmol/viewer/Viewer.java
line 8240.

Bob


On Sat, Aug 1, 2015 at 8:19 AM, CheMagic <osrot...@chemagic.com> wrote:

> Bob,
>
> I realize that there is probably naiveté in my question, but I'll ask
> anyway. Is there .js code in the sea of jsmol .js code that is essentially
> MMFF94 isolated from the jsmol page DOM? By this I mean something like
> molfile in, number crunch, and molfile out.
>
> I started playing around with something called HTML5 Web Workers. It's a
> built in HTML5  way of bringing asynchronous threading to javascript. I was
> working on a bird photography page (a calendar), when it occurred to me
> that it might be fun to try using this on my jsmol model kit. The problem
> is that while the web page can exchange info, including messaging, with the
> Worker. The Worker has no access to window or document objects directly.
> Basically, it will run any javascript in the background, but you have to
> send it everything it needs for a given process. It keeps up an ongoing
> conversation with the page - messages and results, but the page has to act
> on the DOM with these results. I'd like to try running MMFF94 in the
> background using this technology.
>
> I realize that you already do this with minimize. I just want to play with
> this aspect of HTML5 using something jsmol related.
>
> Otis
>
> Sent from my iPad
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> 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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to