@source http://chemapps.stolaf.edu/jmol/jsmol @author hansonr@stolaf.edu project started 8/26/2012 revision 8:11 AM 11/22/2012 -- color Labels fix; adds _version information; adds Jmol.debugCode (true to skip core.z.js) revision 11/21/2012 10:26:18 AM -- Spartan binary file reading, measurements working revision 9:20 PM 11/18/2012 -- full threading -- hover, spin, animation, vibration, timeout, delay, moveto revision 1:19 PM 11/13/2012 -- full binary file reading on all tested browsers revision 12:32 PM 11/2/2012 -- java/jmolcore.z.js revision 10/29/2012 2:18:47 PM JSmol -- Java(Script) web-based molecular viewer see jmol.sourceforge.net jsmol.sourceforge.net http://chemapps.stolaf.edu/jmol/jsmol/test2.htm This zip directory contains the work in progress toward a complete Java->JavaScript code conversion for Jmol. Note that JSmol is not a different program than Jmol. JSmol is Jmol, just compiled into JavaScript as well as Java byte code. All development is done working with the trunk Jmol Java source, but compilation of that code creates both Java .class files and equivalent JavaScript .js files As such, JSmol has just about all of the features of Jmol: full file reading (including binary formats) full Jmol scripting (including atom selection and Jmol Math) full Jmol shape object support Status: complete Jmol code implementation in JavaScript Java2Script js compiler adapted successfully WebGL: full, fast rendering, including cartoons and isosurfaces (vdw, sasurface) HTML5: slower rendering; but a full implementation of Jmol, including translucency and labels color-mapped isosurfaces working cartoons all working full scripting capability full cross-domain database access using jQuery and JmolJSO full text support for HTML5-only option load performance enhanced using packaging of JavaScript classes binary file loading works in FF, MSIE, and Chrome threads working for hover, delay, animation, vibration, spin, moveto, timeout To do: still no text for WebGL option What's here: The main test page is test2.htm. test2.htm is a general test of the integration of JSmol with JmolJSO This Jmol page (when complete) should automatically switch to different modes depending upon browser capabilities. However, right now I have it starting in HTML5 mode only. When operational, it will use the signed Jmol applet, the unsigned Jmol applet with server-side help, or JSmol using HTML5 when WebGL is not available (iPad/iPhone/Android). JSmol implements Java2Script to recreate the entire Jmol Java applet in JavaScript. On the server side, it uses jmolcd2.php for delivering cross-domain models into the viewer. Credits: Jmol code conversion to JavaScript by Bob Hanson. GLmol interface written by Takanori Nakane. Java2Script written by Zhou Renjian, et al. Jzlib written by Atsuhiko Yamanaka. Testing assistance by Duncan Blue, St. Olaf '17