[Jmol-users] Which JSmol version and engine?

2013-02-01 Thread Jaime Prilusky

How do I know which version of JSmol I have running on a page?

How do I know which rendering engine (Java, WebGL, HTML5) is in use?

Thank you in advance,
Jaim


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Which JSmol version and engine?

2013-02-01 Thread Robert Hanson
The version of JSmol is the same as the version of Jmol:

open a console...

  show _version

_version = 1301012

type:

In JavaScript:

jmolApplet0._jmolType




On Fri, Feb 1, 2013 at 1:21 PM, Jaime Prilusky 
jaime.prilu...@weizmann.ac.il wrote:


 How do I know which version of JSmol I have running on a page?

 How do I know which rendering engine (Java, WebGL, HTML5) is in use?

 Thank you in advance,
 Jaim



 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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, Chemistry Department
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
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Script Help

2013-02-01 Thread Otis Rothenberger
Bob,

To make the rotation of individual models in a multi model window possible on 
an iPad, I have to try to replicate your setPicking dragselected with another 
bindings. The following is really clunky. Can you point me in a better 
direction for the binding rotation script?

select {molecule=1};color red;unbind single;bind single rotateSelected 
axisangle {1 1 1 @{_DELTAX*1}}

Otis 

--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Script Help

2013-02-01 Thread Robert Hanson
is this rotation or spin? And what's so special about the iPad?


On Fri, Feb 1, 2013 at 4:18 PM, Otis Rothenberger osrot...@chemagic.comwrote:

 Bob,

 To make the rotation of individual models in a multi model window possible
 on an iPad, I have to try to replicate your setPicking dragselected with
 another bindings. The following is really clunky. Can you point me in a
 better direction for the binding rotation script?

 select {molecule=1};color red;unbind single;bind single
 rotateSelected axisangle {1 1 1 @{_DELTAX*1}}

 Otis

 --
 Otis Rothenberger
 o...@chemagic.com
 http://chemagic.com






 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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, Chemistry Department
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
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Script Help

2013-02-01 Thread Otis Rothenberger
Bob,

My mistake, I meant set allowRotateSelected TRUE - not set picking dragselected.

This is a drag rotation. Normally, this would be an alt-click-drag with the 
hover making the selection - i.e. set allowRotateSelected TRUE. For iPad users, 
I pretty much have to cover this with bindings to single and double. You can't 
use modifier keys. I'm pretty sure I can do this by binding single and double 
correctly, but my rotateSelected script on the single binding is really clunky. 
I can't figure out how to get a better xyz rotation.

The parts work for me. I can select the models with a double binding, and I can 
do the selective rotation with single binding. I'm trying to improve the 
rotation script.

Otis


--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com




On Feb 1, 2013, at 9:48 AM, Robert Hanson wrote:

 is this rotation or spin? And what's so special about the iPad? 
 
 
 On Fri, Feb 1, 2013 at 4:18 PM, Otis Rothenberger osrot...@chemagic.com 
 wrote:
 Bob,
 
 To make the rotation of individual models in a multi model window possible on 
 an iPad, I have to try to replicate your setPicking dragselected with another 
 bindings. The following is really clunky. Can you point me in a better 
 direction for the binding rotation script?
 
 select {molecule=1};color red;unbind single;bind single rotateSelected 
 axisangle {1 1 1 @{_DELTAX*1}}
 
 Otis 
 
 --
 Otis Rothenberger
 o...@chemagic.com
 http://chemagic.com
 
 
 
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan
 ___
 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, Chemistry Department
 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
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_d2d_jan___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users