#16004: Update notebook to utilize pure javascript JSmol for default live 3-D
-------------------------------------+-------------------------------------
       Reporter:  gutow              |        Owner:  gutow
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  notebook           |   Resolution:
       Keywords:  Jmol 3D 3-D        |    Merged in:
        Authors:  Jonathan Gutow,    |    Reviewers:  Steven Trogdon, Karl-
  Volker Braun                       |  Dieter Crisman, Jonathan Gutow
Report Upstream:  Reported           |  Work issues:
  upstream. Developers acknowledge   |       Commit:
  bug.                               |  a4c94cd49e564f339ca64729cc579365aa945812
         Branch:                     |     Stopgaps:
  u/vbraun/jsmolsagenb               |
   Dependencies:  #17020             |
-------------------------------------+-------------------------------------

Old description:

> The notebook needs updates to utilize a pure javascript version of Jmol
> by default for live 3-D.  This includes changes to make the notebook
> compatible with the newer jquery-1.9 (some things used in the notebook
> have been deprecated).
>
> Jmol is cross compiled to java and javascript.  Because so many
> browser/OS combinations now actively try to avoid using java applets, it
> is necessary to have a pure javascript alternative.  This solution
> provides all the functionality of Jmol, but as expected since javascript
> is interpreted rather than bytecode ("~3/4" of the way to compiled) the
> performance when interacting with the plot is slower.
>
> This first implementation removes the user tools that have appeared to
> the right of the 3-D plot as they need to be rewritten as well.
>
> One added feature is a "load 3-D live" check box that can be used to make
> a worksheet load 3-D plots live when the worksheet is opened.  For
> worksheets with a single interact or only 1-2 plots this should be OK.
>
> This requires installation of an updated Jmol.spkg.  See ticket #17020.
> Will require a new sagenb release: [INSERT HERE]
>
> How to test:
> 1. Update Sage with #17020
> 1. Download the repackaged Jmol from the link provide in #17020 and save
> the package in the "upstream" directory of your sage install.
> 1. run `sage -f jmol` to install the new jmol.
> 1. Update Sage with the branch here
> 1. Put [http://sage.math.washington.edu/home/kcrisman/sagenb-0.11.0.tar
> the new upstream package] into `SAGE_ROOT/upstream`
> 1. Do `sage -f sagenb-0.11.0`
> 1. Test!
> 1. For testing, #17170 is also advised, since without it display in the
> notebook does not work properly.

New description:

 The notebook needs updates to utilize a pure javascript version of Jmol by
 default for live 3-D.  This includes changes to make the notebook
 compatible with the newer jquery-1.9 (some things used in the notebook
 have been deprecated).

 Jmol is cross compiled to java and javascript.  Because so many browser/OS
 combinations now actively try to avoid using java applets, it is necessary
 to have a pure javascript alternative.  This solution provides all the
 functionality of Jmol, but as expected since javascript is interpreted
 rather than bytecode ("~3/4" of the way to compiled) the performance when
 interacting with the plot is slower.

 This first implementation removes the user tools that have appeared to the
 right of the 3-D plot as they need to be rewritten as well.

 One added feature is a "load 3-D live" check box that can be used to make
 a worksheet load 3-D plots live when the worksheet is opened.  For
 worksheets with a single interact or only 1-2 plots this should be OK.

 This requires installation of an updated Jmol.spkg.  See ticket #17020.
 Will require a new sagenb release: [INSERT HERE]

 How to test:
 1. Update Sage with #17020
 1. Download the repackaged Jmol from the link provide in #17020 and save
 the package in the "upstream" directory of your sage install.
 1. run `sage -f jmol` to install the new jmol.
 1. If you don't have it yet, update Sage with #16911 '''or''' just use
 this branch that Volker has merged with that one.
 1. Same with #16396 if you want to build doc correctly.
 1. Update Sage with the branch here
 1. Put [http://sage.math.washington.edu/home/kcrisman/sagenb-0.11.0.tar
 the new upstream package] into `SAGE_ROOT/upstream`
 1. Do `sage -f sagenb-0.11.0`
 1. Test!
 1. For testing, #17170 is also advised, since without it display in the
 notebook does not work properly.

--

Comment (by kcrisman):

 > Fixed the obvious conflict with #16911
 Oh, duh.  I'll also mention that in the instructions, why I didn't think
 about this who knows...

--
Ticket URL: <http://trac.sagemath.org/ticket/16004#comment:138>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to