Difference between revisions of "JSmol"

From Jmol
Jump to navigation Jump to search
(link to PlatformSpeed)
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<font color='red'>This page is under construction</font>
+
JSmol is a JavaScript framework that allows web developers to create pages that utilize either Java or HTML5 (no Java), 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 [http://proteopedia.org/w/Java#Java_is_a_security_threat security threat].
  
 +
JSmol/HTML5 (no Java) 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 [[PlatformSpeed]].
  
JSmol is a modality of Jmol that works within a web browser without using [http://proteopedia.org/w/Java Java]. This enables JSmol 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). Not installing Java avoids possible [http://proteopedia.org/w/Java#Java_is_a_security_threat security risks].
+
More information about JSmol:
  
However, the Java modality of Jmol gives faster performance and smoother rotation than JSmol. Also JSmol does not work well in Internet Explorer or Opera, or with very large or multiple-model structures (>20,000 atoms), while the Java form of Jmol does not have these limitations.
+
*[[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.
 +
: Maybe you want to go straight to
 +
:* [[Jmol_JavaScript_Object/Functions|Functions for Jmol JavaScript Object]]
 +
:* [[Jmol_JavaScript_Object/Info|Detailed explanation of the parameters included in the Info variable]]
  
*[[Jmol JavaScript Object]]: Technical information about the libraries used to implement both the JSmol and Jmol objects
+
*[[JSmol pros and cons]] describes the problems JSmol has with large models and certain web browsers.
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 in relation to Jmol].
 +
 
 +
 
 +
<table style="width:100%;">
 +
<tr>
 +
<td style="width:25%; vertical-align:top;">
 +
{{Installing_Jmol}}
 +
</td>
 +
<td style="width:50%; vertical-align:top;">
 +
{{Running_Jmol}}
 +
<div style="margin-top:0.7em;"></div>
 +
{{Tutorials}}
 +
</td>
 +
<td style="width:25%; vertical-align:top;">
 +
{{Jmol_Documentation}}
 +
</td>
 +
</tr>
 +
</table>

Latest revision as of 23:43, 20 November 2015

JSmol is a JavaScript framework that allows web developers to create pages that utilize either Java or HTML5 (no Java), 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 threat.

JSmol/HTML5 (no Java) 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 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.
Maybe you want to go straight to
  • JSmol pros and cons describes the problems JSmol has with large models and certain web browsers.


Installing Jmol / JSmol
Running Jmol / JSmol
Jmol / JSmol Tutorials
Jmol + JSmol Documentation