Don't forget that there is a WebGL option with JSmol. See http://chemapps.stolaf.edu/jmol/jsmol/jsmolgl.htm
There are many limitations, but it might work fine for simple applications. On Thu, Dec 10, 2015 at 6:37 PM, Paul PILLOT <paulpil...@gmail.com> wrote: > Dear Eric, > I’ve noticed the same problems, especially on older computers where each > scene repaint can be perceived (white background flashing between each > frame). One of my pages has other concerns related to javascript event > listeners that make the whole experience even worse, by adding other > calculations to the webpage on top of JSmol. My students noticed that > firefox is better too. > I have a simpler webpage with only buttons for interactions that doesn’t > have the same drawbacks (animations are quirky, but user interactions are > satisfactory). > > As this situation has been quite frustrating, I’ve decided to give WebGL a > try using 3dmol.js. I am in the process of rewriting a single page > application around a viewer, but it’s like reinventing the wheel as this > library capabilities are far from being on par with JSmol and rely on a > totally different mechanism of interaction (David Koes, its main > developper, is very helpful in this process). Most Jsmol features lack form > this library which focuses on rendering. I’ll see if it nonetheless could > suit my teaching needs in biochemistry… > > -Paul > > Le 10-12-2015 à 17:55, Eric Martz <ema...@microbio.umass.edu> a écrit : > > In April 2014, Chrome gave the best performance of JSmol: smoothest > rotation and few if any long (~ one minute) pauses during loading of some > modest PDB files (pauses seen in Firefox). I configured FirstGlance in > Jmol, when using JSmol, to recommend Chrome over Firefox. Safari was good. > Internet Explorer was unusably slow with JSmol. > > Recently I began to notice jumpier rotation in Chrome, while Firefox and > Safari continue to perform well. > > Today I found Chrome to be unable to rotate any molecule (even caffeine) > in JSmol. Although there are brief moments when rotation can be seen, these > are broken by long freezes (> 5 sec) when no rotation can be accomplished. > > The problem is worst when the mouse is moved quickly. The molecule freezes > until the mouse is stopped. If you keep moving the mouse, the molecule may > freeze for more than 10 sec. The molecule does rotate with very slow > movements of the mouse. > > The problem occurs in OS X, where Chrome has updated to version 47. > > Rotation is still quite good in Chrome version 46, which happens to remain > in my Windows 7 and 10 machines, despite version 47 becoming the stable > release on December 1 ( > <http://googlechromereleases.blogspot.com/search?updated-max=2015-12-01T12:43:00-08:00&max-results=10> > http://googlechromereleases.blogspot.com/search?updated-max=2015-12-01T12:43:00-08:00&max-results=10). > Presumably my Windows Chrome will shortly auto-update to 47 and then I will > be very curious about performance. > > I tested the OS X beta version of Chrome, version 48, in hopes the problem > would be fixed -- but it remains in Chrome 48 in OS X. > > Since Chrome stopped supporting Java on September 1, 2015, Chrome is now > useless for JSmol websites. > > We can hope this is a mouse-related bug in Chrome that will be fixed, but > as I mentioned, a fix is not present in the current beta version 48. > > This is a sad turn of events! Comments? Suggestions? Insights? > > -Eric > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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