#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:               |  
---------------------------+------------------------------------------------
Description changed by jason:

Old description:

> I believe this drop-in set of javascript files now works.  Need testers!
>
> To test, do:
>
> {{{
> sage -f http://sage.math.washington.edu/home/jason/sagenb-0.8.p3.spkg
> }}}
>
> (this will overwrite your current sagenb code (but not your worksheets),
> so you might want to do it in a test Sage installation)
>
> Alternatively, you can use the attached files:
>
> 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.

New description:

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

 To test, do:

 {{{
 sage -f http://sage.math.washington.edu/home/jason/sagenb-0.8.p3.spkg
 }}}

 (this will overwrite your current sagenb code (but not your worksheets),
 so you might want to do it in a test Sage installation)

 Alternatively, you can use the attached files and jmol.zip:

 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.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9238#comment:21>
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