Difference between revisions of "JSmol"

From Jmol
Jump to navigation Jump to search
(more details and link to download)
(animation not yet implemented)
Line 5: Line 5:
 
Current limitations:
 
Current limitations:
 
* Binary files cannot be opened into JSmol (e.g Spartan files, gzipped files).
 
* Binary files cannot be opened into JSmol (e.g Spartan files, gzipped files).
 +
* Animation is not working yet (e.g. <code>anim, move, moveTo</code> commands)
  
 
When used together with [[Jmol JavaScript Object]] (Jmol-JSO), the same webpage may be authored to run in all devices using in each case a Jmol variety or surrogate that is adjusted to capabilities of each device.
 
When used together with [[Jmol JavaScript Object]] (Jmol-JSO), the same webpage may be authored to run in all devices using in each case a Jmol variety or surrogate that is adjusted to capabilities of each device.

Revision as of 14:30, 2 November 2012

JSmol is the tentative name for an alternative to Jmol applet that does not require Java but instead renders the molecular models in a webpage using just JavaScript and HTML5 features. This opens up the use of Jmol not only in PC's, Mac's and Linux's systems without Java installed, but also in tablets and phones (iOS, Android) that do not allow Java or applets. No hardware-based graphics acceleration is used either, and hence it should run in any system that supports HTML5 standards in the web browser. JSmol runs entirely in the client, does not use any server technologies.

JSmol allows rendering, scripting and interaction with the models just as Jmol does, since the source code is shared by both. Note that JSmol is not a different program than Jmol: it is Jmol, just compiled into JavaScript instead of Java (thanks to the Java2Script software).

Current limitations:

  • Binary files cannot be opened into JSmol (e.g Spartan files, gzipped files).
  • Animation is not working yet (e.g. anim, move, moveTo commands)

When used together with Jmol JavaScript Object (Jmol-JSO), the same webpage may be authored to run in all devices using in each case a Jmol variety or surrogate that is adjusted to capabilities of each device.


JSmol is still in the development stage (Oct. 2012). You can see it in action at the test page. The current set of files (development version, subject to changes) may be downloaded here.