Opened 9 years ago

Last modified 8 years ago

#16004 closed enhancement

Update notebook to utilize pure javascript JSmol for default live 3-D — at Version 5

Reported by: Jonathan Gutow Owned by: Jonathan Gutow
Priority: major Milestone: sage-6.4
Component: notebook Keywords: Jmol 3D 3-D
Cc: Karl-Dieter Crisman, Andrey Novoseltsev, Steven Trogdon, Jason Grout, Frédéric Chapoton Merged in:
Authors: gutow Reviewers:
Report Upstream: Reported upstream. Developers acknowledge bug. Work issues:
Branch: Commit:
Dependencies: 16003 Stopgaps:

Status badges

Description (last modified by Jonathan Gutow)

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. In this first implementation it is not possible to choose to use the java applet instead.

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 16003.

Sorry for the github commit, but I could not get a notebook branch working in Sage.

Change History (5)

comment:1 Changed 9 years ago by Jonathan Gutow

Component: PLEASE CHANGEnotebook
Description: modified (diff)

comment:2 Changed 9 years ago by Jonathan Gutow

Owner: set to Jonathan Gutow

comment:3 Changed 9 years ago by Jonathan Gutow

Description: modified (diff)

comment:4 Changed 9 years ago by Jonathan Gutow

Description: modified (diff)

comment:5 Changed 9 years ago by Jonathan Gutow

Description: modified (diff)
Status: newneeds_review
Note: See TracTickets for help on using tickets.