This page can use the signed Jmol applet, the unsigned Jmol applet with server-side help, or JSmol using HTML5 with or without WebGL. As of 11/6/12 pure HTML5 is working; binary file reading is working (ZIP, PNGJ, GZ, etc.); scripting, translucency, labels, all working. No animation or spin threads yet. Note that JSmol is not a different program than Jmol, it is Jmol, just compiled into JavaScript instead of Java. JSmol implements Java2Script to recreate the entire Jmol Java applet in JavaScript. All development is done working with the trunk Jmol Java source, but compilation of that code creates both the standard Java version and the Java2Script version. As such, JSmol has just about all of the features of Jmol: file reading, Jmol scripting, Jmol math, etc. On the server side, we are using JmolData.jar for delivering cross-domain models into the viewer. Credits: GLmol interface written by Takanori Nakane. Java2Script written by Zhou Renjian, et al. Jzlib written by Atsuhiko Yamanaka. Jmol code conversion to JavaScript by Bob Hanson. | |
display faster sharper show info hide info cmd spacefill wireframe ball&stick cartoons fancy not flat color atomno color cpk color structure isosurface vdw off mep translucent opaque labels on off echo larger smaller |
Wait for the page to load fully, then try various buttons. Cartoons are working.
Current status: 11/11/12 - Jmol is working completely Java-free and WebGL-free. Core Java/Jmol code is packaged into one 3-MB file for faster initial file transfer. Text working; antialiasDisplay working; synchronous binary file reading is working with Firefox, MSIE, and Chrome (tested on Windows 7 only); cartoons, translucency, surfaces -- all are working in a simple HTML5 2D canvas. No WebGL required. TODO: animation, moveTo, spin threads. TODO: further develop WebGL interface. The cmd link below the applet can be used to send script commands to the viewer just as for Jmol. |