Difference between revisions of "Jmol JavaScript Object/GLmol"

From Jmol
Jump to navigation Jump to search
(update for using JSmol.min.js + WebGL option)
(better paths)
Line 9: Line 9:
  
 
<code>
 
<code>
&lt;script type="text/javascript" src="JSmol.min.js">&lt;/script><br />
+
&lt;script src="somePath/JSmol.min.js" type="text/javascript">&lt;/script><br />
&lt;script type="text/javascript" src="JSmolThree.js">&lt;/script><br />
+
&lt;script src="somePath/js/JSmolThree.js" type="text/javascript">&lt;/script><br />
&lt;script type="text/javascript" src="JSmolGLmol.js">&lt;/script><br />
+
&lt;script src="somePath/js/JSmolGLmol.js" type="text/javascript">&lt;/script><br />
 
</code>
 
</code>

Revision as of 11:31, 10 May 2013

GLmol option

This is an optional component within the JSmol implementation using the Jmol-JSO structure

This is a WebGL-based alternative to JmolApplet. Note that this GLmol variant does not yet implement the full functionality of Jmol.

This is changing as development is under way, so this is just orientative and approximate:

<script src="somePath/JSmol.min.js" type="text/javascript"></script>
<script src="somePath/js/JSmolThree.js" type="text/javascript"></script>
<script src="somePath/js/JSmolGLmol.js" type="text/javascript"></script>

Contributors

AngelHerraez