For a zip file containing all the files in this directory, see http://chemapps.stolaf.edu/jmol/JSmol.zip. 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/18/12, animation, delay, moveto, spin, vibration all working; hover working. As of 11/12/12, all binary file reading is working (ZIP, PNGJ, GZ, etc.); scripting, translucency, labels, all working. As of 11/6/12, pure HTML5 is working. 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 |
Try various buttons. If anything doesn't work please let me know.
Current status: 11/18/12 - Jmol is working completely Java-free, requiring only HTML5. Animation, spin, vibration, moveto, hover all working;echos/labels working; antialiasDisplay working; synchronous binary file reading is working with Firefox, MSIE, Chrome, and Safari (tested on Windows 7 and Mac iPad OS); cartoons, translucency, surfaces -- all are working in a simple HTML5 2D canvas. No WebGL required. TODO: further develop WebGL interface. Enter > and a command into the search box and press ENTER to execute a script command. |