#9238: J. Gutow's update to Jmol in the notebook...
---------------------------+------------------------------------------------
   Reporter:  gutow        |       Owner:  jason, was
       Type:  enhancement  |      Status:  new       
   Priority:  major        |   Milestone:  sage-4.4.4
  Component:  notebook     |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Old description:

> I believe this drop-in set of javascript files now works.  Need testers!
>
> Attached are replacement javascript files for jmol_lib.js and
> notebook_lib.js, which are located in sagenb/data/sage/js.  Changes to
> notebook_lib.js are just some added calls to functions in jmol_lib.js to
> let the javascript know when applets are closed.  The library jmol_lib.js
> is a complete rewrite.
>
> Also requires latest Jmol version 11.8.
>
> Adds the following features to the notebook:
>
> 1) No more than 8 Jmols will be active at once.  This prevents running
> out of memory.  The user is provided with a link to wake up sleeping
> Jmols that they wish to manipulate.  Sleeping Jmols are replaced with a
> static image.
>
> 2) A spin on/off check box is now provided.
>
> 3) The user may choose among a number of display sizes.
>
> 4) In the function tab, the user may change function color and mesh
> color.
>
> 5) The "State" tab displays the Jmol script to get the Jmol display.
> Eventually this will probably be hidden.  If we can get the notebook to
> store this user views would also transfer across sessions.

New description:

 I believe this drop-in set of javascript files now works.  Need testers!

 Attached are replacement javascript files for jmol_lib.js and
 notebook_lib.js, which are located in sagenb/data/sage/js.  Changes to
 notebook_lib.js are just some added calls to functions in jmol_lib.js to
 let the javascript know when applets are closed.  The library jmol_lib.js
 is a complete rewrite.

 Also requires latest Jmol version 11.8.  To do this download the zipped
 version of the sagenb/data/jmol directory from this link (3.4 Mb):

 http://www.uwosh.edu/faculty_staff/gutow/jmol.zip

 Unzip this directory and replace the existing sagenb/data/jmol directory.
 I have updated things to the latest version of the jmol applet that loads
 incrementally and cleaned out many files that were not used.


 Adds the following features to the notebook:

 1) No more than 8 Jmols will be active at once.  This prevents running out
 of memory.  The user is provided with a link to wake up sleeping Jmols
 that they wish to manipulate.  Sleeping Jmols are replaced with a static
 image.

 2) A spin on/off check box is now provided.

 3) The user may choose among a number of display sizes.

 4) In the function tab, the user may change function color and mesh color.

 5) The "State" tab displays the Jmol script to get the Jmol display.
 Eventually this will probably be hidden.  If we can get the notebook to
 store this user views would also transfer across sessions.

--

Comment(by gutow):

 OK, I've posted a .zip archive with all the necessary Jmol stuff.  The
 link is now included in the trac ticket.  Sorry I forgot about that.

 Jonathan

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9238#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to