Difference between revisions of "JSmol"

From Jmol
Jump to navigation Jump to search
Line 1: Line 1:
<span style="color:red; font-size:150%">This page is under construction</span>
+
JSmol is a JavaScript framework that allows web developers to create pages that utilize either Java or HTML5, at will. This enables Jmol to display interactive 3D molecular structures on devices that do not have Java installed, or for which Java is not available (such as smart phones and some tablet computers, e.g. iPad) or has not been installed because of concerns for Java being a security thread.
  
 +
JSmol/HTML5 is virtually identical to JSmol/Java in terms of rendering. The Java mode gives faster performance and smoother rotation than the HTML5 mode by a factor of 6 to 10, typically. In many cases this is not noticeable. Where it is noticed is with rending structures involving 20,000+ atoms or with surface creation. Rendering in the HTML5 mode can be sped up substantially with judicial use of [http://chemapps.stolaf.edu/jmol/docs/#set_platformspeed set platformSpeed].
  
JSmol is a JavaScript framework that allows Jmol to work within a web browser using either Java or HTML5. This enables Jmol to display interactive 3D molecular structures on devices that do not have Java installed, or for which Java is not available (such as smart phones and some tablet computers, e.g. iPad) or has not been installed because of concerns for Java being a security thread.
+
More information about JSmol:
  
JSmol/HTML5 is virtually identical to JSmol/Java in terms of rendering. The Java mode gives faster performance and smoother rotation than the HTML5 mode by a factor of 6 to 10. In many cases this is not noticeable. Where it is noticed is with rending structures involving 20,000+ atoms or with surface creation. Rendering in the HTML5 mode can be sped up substantially with judicial use of [http://chemapps.stolaf.edu/jmol/docs/#set_platformspeed set platformSpeed]. In addition, the HTML5 mode has been reported to work very slowly in some versions of Internet Explorer, rotation is slow and jerky in Opera when not using '''set platformSpeed'''. Safari, Firefox, and Chrome appear to have much better JavaScript engines, and performance is much better using these browsers. In contrast, JSmol/Java works equally well in all of those browsers.  
+
*[[Jmol JavaScript Object]]: A full discussion of what JSmol is and how it can be implemented on a web page. Technical information about the libraries used to implement both the Java and HTML5 modes and to interact with them via scripts and user interface controls such as buttons, links, and menus.
 
 
More information about JSmol:
 
  
 
*[[JSmol pros and cons]] describes the problems JSmol has with large models and certain web browsers.
 
*[[JSmol pros and cons]] describes the problems JSmol has with large models and certain web browsers.
  
*[[Jmol JavaScript Object]]: Technical information about the libraries used to implement both the JSmol and Jmol objects in a web page -- and to interact with them via scripts and UI controls such as buttons etc.
 
  
*[http://proteopedia.org/w/Java Proteopedia page on using Java]
+
*[http://proteopedia.org/w/Java Proteopedia page on using Java in relation to Jmol].

Revision as of 13:47, 1 August 2014

JSmol is a JavaScript framework that allows web developers to create pages that utilize either Java or HTML5, at will. This enables Jmol to display interactive 3D molecular structures on devices that do not have Java installed, or for which Java is not available (such as smart phones and some tablet computers, e.g. iPad) or has not been installed because of concerns for Java being a security thread.

JSmol/HTML5 is virtually identical to JSmol/Java in terms of rendering. The Java mode gives faster performance and smoother rotation than the HTML5 mode by a factor of 6 to 10, typically. In many cases this is not noticeable. Where it is noticed is with rending structures involving 20,000+ atoms or with surface creation. Rendering in the HTML5 mode can be sped up substantially with judicial use of set platformSpeed.

More information about JSmol:

  • Jmol JavaScript Object: A full discussion of what JSmol is and how it can be implemented on a web page. Technical information about the libraries used to implement both the Java and HTML5 modes and to interact with them via scripts and user interface controls such as buttons, links, and menus.
  • JSmol pros and cons describes the problems JSmol has with large models and certain web browsers.