Well, it's been a busy three months! Hard to believe that I started this
Aug 26, and we basically now have a fully functional Jmol applet without
Java.

I have updated http://chemapps.stolaf.edu/jmol/jsmol.zip

http://chemapps.stolaf.edu/jmol/jsmol/test2.htm

demonstrates reading binary Spartan files, implementation of which took me
places I really did not wish to go, namely, figuring out how to implement
in JavaScript the conversion of binary byte-encoded float and double values
into floats. Wow. We might be the first to implement that, since not much
is done reading binary files into JavaScript, I think. Anyway, I'm happy to
report that it works. The link is in the middle of that page --
square_planar.spartan. JSmol now is reading PNGJ, ZIP, GZIP, and
CompoundDocument formats correctly. It has to do this based on file
extension, and there are opportunities for problems there. But, basically,
if you find a binary file not being read, consider naming it with  ".bin"
somewhere in the name to force JSmol to read it in a binary fashion.

Glad to see the testing of multiple applets. I suspect there are issues
there, as I have not tested that yet. Let me know what you find.

I also note that double-click for measures is working, the canvas problem
with right-edge scrolling is fixed, and there should be no trouble with
non-integer div sizes in Firefox 17.

I haven't implemented any resize-callbacks, so probably resizing an applet
will cause grief. Please test.

Probably the main drawback of JavaScript is going to show up with large
canvases (1000x1000 or larger), especially with antialiasing or
translucency. This could be a problem, since JavaScript is still an order
of magnitude slower than Java.


Bob




-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to