On Thu, Mar 8, 2012 at 1:56 PM, Jason Grout <[email protected]> wrote:
> On 3/8/12 3:40 PM, Thierry Dumont wrote:
>>
>> Le 08/03/2012 14:44, Jori Mantysalo a écrit :
>>>
>>> On Mon, 5 Mar 2012, P Purkayastha wrote:
>>>
>>>> It works here on "vanilla" sage-4.8, sage-4.8+new flask notebook+new
>>>> jmol,
>>>> and sage-5.0beta2+new flask notebook+new jmol with both opera-11.61 and
>>>> firefox-10.0.2 on Gentoo 64 bit. java is the 64bit variety from sun,
>>>> version 1.6.0.31.
>>>
>>>
>>> I just tested this on virtual machine. It worked when I installed Fedora
>>> 16. But after yum update it crashed Firefox. At least FF version was
>>> updated from 7.x to 10.x with yum, but this might depend on java
>>> version, not on FF version.
>>>
>>> Next question: How can I save java-applet from Sage to another page, so
>>> that I can send error report to FF mailing list?
>>>
>>
>> On Ubuntu (11.04, 10.04 and maybe others), the policy of Oracle resulted
>> (as far as I know) in the withdrawal of all packages sun*java from the
>> distribution.
>> Once, our computers, after a weekly update, could no more play Jmol,
>> because they had regressed to open-jdk and other packages.
>>
>> I believe that we must suppress any Java packages from sage.... Sage
>> must not depend on this Money Oriented Language (see:
>> http://www.stlport.org/resources/StepanovUSA.html).
>> But it will not be so easy :-(
>
>
> Well, one of the high-priority goals for summer is to replace jmol (as
> default) with a three.js-based viewer.  So hopefully soon....  Jmol could
> still be included, but the three.js viewer would be default.
>
> Jason

Yes.  I propose this project, and care a lot about seeing it through.
I fully agree that: "we must suppress any Java packages from sage....
Sage must not depend on this..."

 * Implement 3d graphics built on the three.js javascript library and
WebGL: http://trac.sagemath.org/sage_trac/ticket/12402

GENERAL CONTEXT: Currently, Sage by default uses JMOL
(http://jmol.sourceforge.net/) to display 3d graphics.  This is a weak
link for Sage, because Jmol is a very complicated Java applet, so on
many platforms it crashes web browsers, won't run at all, is unstable,
etc. For example, Jmol doesn't work at all on iPhones and iPads, and
probably never will. Moreover, selecting objects and manipulating them
is very hard, as is evidenced by nobody ever having succeeded in doing
so for Sage, despite much demand.  The future of 3d for the web is
WebGL, which has some support by modern browsers and hardware.  The
three.js is a Javascript library that allows one to describe a 3d
scene and interact with it purely from Javascript.  Moreover, the
scene can be rendered in any browser that supports HTML5's canvas2d,
which is essentially all modern browsers, though it will render more
quickly when WebGL is available.  The goal of this project is to do a
complete reimplement of 3d rendering for Sage using three.js, which
fully replicates all functionality that Jmol offered, so that three.js
can instead be the default.

PREREQUISITES: Javascript.  Python.  Foundations of 3d computer
graphics.  Familiarity with 3d plotting in Sage.  Calculus.  No
advanced mathematics knowledge is needed.

MENTOR: William Stein

BACKUP MENTOR: Jason Grout

-- 
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-support
URL: http://www.sagemath.org

Reply via email to