[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-29 Thread Andrey Novoseltsev
On Wednesday, 27 July 2016 18:04:48 UTC-6, Andrey Novoseltsev wrote:
>
> On Thursday, 14 July 2016 08:41:26 UTC-6, Andrey Novoseltsev wrote:
>>
>> On Thursday, 14 July 2016 08:30:18 UTC-6, Ingo Dahn wrote:
>>>
>>> Further Info: I tested it with Chrome under Win 10 and it doesn't work 
>>> with a local page. The page on the SageCell site IS working. But when I 
>>> copy this page to my site and change all relative links to absolute links 
>>> pointing to the sage server, it shows the same problem: "3D Model loading" 
>>> and a static image.
>>> Any idea what I could try else?
>>> Ingo
>>>
>>
> 3D status update: things are more convoluted than expected. I've setup PHP 
> stuff for JSmol and it sort of works, except that with another processing 
> server in the middle load balancing is not functioning as it should and 
> those plots are now shown as empty. I believe I can solve this problem (and 
> a few others) by a) being smarter with session IDs and sticking and b) 
> upgrading to Ubuntu 16.04 and HA-Proxy 1.6 which is more flexible. I hope 
> to do both in a couple of weeks.
>

OK, I think I made it work using a) only, although b) will make it cleaner 
eventually. Please report if you are still experiencing issues! 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-27 Thread Andrey Novoseltsev
On Thursday, 14 July 2016 08:41:26 UTC-6, Andrey Novoseltsev wrote:
>
> On Thursday, 14 July 2016 08:30:18 UTC-6, Ingo Dahn wrote:
>>
>> Further Info: I tested it with Chrome under Win 10 and it doesn't work 
>> with a local page. The page on the SageCell site IS working. But when I 
>> copy this page to my site and change all relative links to absolute links 
>> pointing to the sage server, it shows the same problem: "3D Model loading" 
>> and a static image.
>> Any idea what I could try else?
>> Ingo
>>
>
3D status update: things are more convoluted than expected. I've setup PHP 
stuff for JSmol and it sort of works, except that with another processing 
server in the middle load balancing is not functioning as it should and 
those plots are now shown as empty. I believe I can solve this problem (and 
a few others) by a) being smarter with session IDs and sticking and b) 
upgrading to Ubuntu 16.04 and HA-Proxy 1.6 which is more flexible. I hope 
to do both in a couple of weeks.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-14 Thread Ingo Dahn
Additional info: It is not a browser issue - Firefox with Win10 shows the 
same behavior with local pages.
Ingo

Am Donnerstag, 14. Juli 2016 16:30:18 UTC+2 schrieb Ingo Dahn:
>
> Further Info: I tested it with Chrome under Win 10 and it doesn't work 
> with a local page. The page on the SageCell site IS working. But when I 
> copy this page to my site and change all relative links to absolute links 
> pointing to the sage server, it shows the same problem: "3D Model loading" 
> and a static image.
> Any idea what I could try else?
> Ingo
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-14 Thread Andrey Novoseltsev
On Thursday, 14 July 2016 08:30:18 UTC-6, Ingo Dahn wrote:
>
> Further Info: I tested it with Chrome under Win 10 and it doesn't work 
> with a local page. The page on the SageCell site IS working. But when I 
> copy this page to my site and change all relative links to absolute links 
> pointing to the sage server, it shows the same problem: "3D Model loading" 
> and a static image.
> Any idea what I could try else?
> Ingo
>

Right now you can try "threejs(your_plot)" and see if you like it. Deafult 
plotter JSmol was not functioning in Chrome for a while and higher priority 
stuff kept appearing. As of now I have fixed all regressions of switching 
to Jupyter that I am aware off, so will see what can be done with 3d.

We also have a dedicated group for SageMathCell now, 
https://groups.google.com/forum/#!forum/sage-cell

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-14 Thread Ingo Dahn
Further Info: I tested it with Chrome under Win 10 and it doesn't work with 
a local page. The page on the SageCell site IS working. But when I copy 
this page to my site and change all relative links to absolute links 
pointing to the sage server, it shows the same problem: "3D Model loading" 
and a static image.
Any idea what I could try else?
Ingo

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-07-10 Thread Ingo Dahn
I have the same problem - 3D rotation works on the SageCell pages but not 
on my own 
like 
http://netmath.vcrp.de/downloads/Skripte/Dahn/AnalysisIndividuell/AnalysisInteraktiv/_graph.html.
 
It shows a static image and if I hover the mouse over the image it says "3D 
model loading" but nothing further happen.
Ingo

Am Donnerstag, 11. Februar 2016 03:05:16 UTC+1 schrieb kjapolson:
>
> I have noticed that using the SageCell that is embedded on 
> sagecell.sagemath.org does not produce this issue. So it might possibly 
> be the way that I have embedded the cell in my html file. I followed the 
> basic template for embedding a SageCell as described at 
> https://sagecell.sagemath.org/static/about.html. Is there something I 
> need to add in the construction of the embedded cell to make it become 
> auto-live correctly?
>
> On Monday, February 8, 2016 at 9:09:49 PM UTC-6, kcrisman wrote:
>>
>>
>>
>>
>> I have created html code for a website that has an embedded SageCell 
>>> within it. The code plots a 3D image of two lines obtained from the RK4 
>>> solution of two differential equations. In SMC, using show(line1+line2) 
>>> outputs a 3D image that can be rotated using the mouse. However, in the 
>>> embedded SageCell, it outputs the 3D image but it is no longer movable. 
>>> From my extensive google searching, I am guessing it is due to some issue 
>>> with jmol in the SageCell. Is there a way around this to make the 3D image 
>>> movable like it is in SMC? Changing the viewer to tachyon produces the same 
>>> problem.
>>>
>>>
>> Hmm, that's interesting.  Probably it just isn't becoming auto-live like 
>> it's supposed to when embedded.  E.g. try 
>> http://sagecell.sagemath.org/?z=eJwrLshILUrV0AQADokC2Q===sage and 
>> that should (after a slight pause) start being rotatable.  What happens 
>> when you click on the image you get in the Sage cell - does it become live 
>> after a bit? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-02-10 Thread kjapolson
I have noticed that using the SageCell that is embedded on 
sagecell.sagemath.org does not produce this issue. So it might possibly be 
the way that I have embedded the cell in my html file. I followed the basic 
template for embedding a SageCell as described 
at https://sagecell.sagemath.org/static/about.html. Is there something I 
need to add in the construction of the embedded cell to make it become 
auto-live correctly?

On Monday, February 8, 2016 at 9:09:49 PM UTC-6, kcrisman wrote:
>
>
>
>
> I have created html code for a website that has an embedded SageCell 
>> within it. The code plots a 3D image of two lines obtained from the RK4 
>> solution of two differential equations. In SMC, using show(line1+line2) 
>> outputs a 3D image that can be rotated using the mouse. However, in the 
>> embedded SageCell, it outputs the 3D image but it is no longer movable. 
>> From my extensive google searching, I am guessing it is due to some issue 
>> with jmol in the SageCell. Is there a way around this to make the 3D image 
>> movable like it is in SMC? Changing the viewer to tachyon produces the same 
>> problem.
>>
>>
> Hmm, that's interesting.  Probably it just isn't becoming auto-live like 
> it's supposed to when embedded.  E.g. try 
> http://sagecell.sagemath.org/?z=eJwrLshILUrV0AQADokC2Q===sage and 
> that should (after a slight pause) start being rotatable.  What happens 
> when you click on the image you get in the Sage cell - does it become live 
> after a bit? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-02-09 Thread Andrey Novoseltsev
On Monday, 8 February 2016 20:09:49 UTC-7, kcrisman wrote:
>
>
>
>
> I have created html code for a website that has an embedded SageCell 
>> within it. The code plots a 3D image of two lines obtained from the RK4 
>> solution of two differential equations. In SMC, using show(line1+line2) 
>> outputs a 3D image that can be rotated using the mouse. However, in the 
>> embedded SageCell, it outputs the 3D image but it is no longer movable. 
>> From my extensive google searching, I am guessing it is due to some issue 
>> with jmol in the SageCell. Is there a way around this to make the 3D image 
>> movable like it is in SMC? Changing the viewer to tachyon produces the same 
>> problem.
>>
>>
> Hmm, that's interesting.  Probably it just isn't becoming auto-live like 
> it's supposed to when embedded.  E.g. try 
> http://sagecell.sagemath.org/?z=eJwrLshILUrV0AQADokC2Q===sage and 
> that should (after a slight pause) start being rotatable.  What happens 
> when you click on the image you get in the Sage cell - does it become live 
> after a bit? 
>

It may depend on the browser as well, I suspect I only made JSmol work in 
Firefox. It should not be terribly hard to do it for other browsers, but 
other things got higher priority on my little time and nobody else works on 
SageMathCell. Pull requests welcome, as they say ;-)

As a workaround, one can try to use "threejs(your_plot_here)" and hope for 
the best - the quality is not as good as in JSmol and in certain cases I 
saw plots completely disappear for no clear reason. 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Issue Displaying 3D Images in SageCell

2016-02-08 Thread kcrisman



I have created html code for a website that has an embedded SageCell within 
> it. The code plots a 3D image of two lines obtained from the RK4 solution 
> of two differential equations. In SMC, using show(line1+line2) outputs a 3D 
> image that can be rotated using the mouse. However, in the embedded 
> SageCell, it outputs the 3D image but it is no longer movable. From my 
> extensive google searching, I am guessing it is due to some issue with jmol 
> in the SageCell. Is there a way around this to make the 3D image movable 
> like it is in SMC? Changing the viewer to tachyon produces the same problem.
>
>
Hmm, that's interesting.  Probably it just isn't becoming auto-live like 
it's supposed to when embedded.  E.g. try 
http://sagecell.sagemath.org/?z=eJwrLshILUrV0AQADokC2Q===sage and that 
should (after a slight pause) start being rotatable.  What happens when you 
click on the image you get in the Sage cell - does it become live after a 
bit? 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.