Difference between revisions of "JSmol"

From Jmol
Jump to navigation Jump to search
(link to PlatformSpeed)
 
(9 intermediate revisions by 3 users not shown)
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 (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 works very slowly in Internet Explorer, and rotation is slow and jerky in Opera, but works very well in Chrome, Safari, and well in Firefox. In contrast, Jmol (Java modality) works equally well in all of those browsers. JSmol works slowly with very large or multiple-model structures (>20,000 atoms), while the Java form of Jmol does much better.
+
*[[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]]
  
More information about JSmol:
+
*[[JSmol pros and cons]] describes the problems JSmol has with large models and certain web browsers.
 +
 
 +
*[http://proteopedia.org/w/Java Proteopedia page on using Java in relation to Jmol].
  
*[[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.
+
<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