CORS problem using sagecell

45 views
Skip to first unread message

david.guichard

unread,
Jan 27, 2019, 8:37:00 PM1/27/19
to sage-support
In my calculus book I have a number of sagecells. One of them has started throwing an error involving CORS. Follow this link:


and go to the exercise section, click evaluate on the sagecell. When I do this, I get


This was working a few months ago. There are two sagecells in


and both work for me. I'm not seeing any significant differences in the code.

Any ideas?

-- David

david.guichard

unread,
Jan 27, 2019, 8:51:34 PM1/27/19
to sage-support
I found the difference: the working cells were using viewer='threejs'. When I change the other to threejs it works, although I don't like the plot as much. Is there a way with the threejs viewer to get an orthogonal projection instead of perspective?

To repeat from my initial post: I'm sure that this cell was working just a few months ago.

-- David

henri girard

unread,
Jan 28, 2019, 12:42:03 AM1/28/19
to sage-s...@googlegroups.com

do you share the code for example 16.6.1 ?

--
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...@googlegroups.com.
To post to this group, send email to sage-s...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

David Guichard

unread,
Jan 28, 2019, 2:11:41 PM1/28/19
to sage-s...@googlegroups.com
On Sun, Jan 27, 2019 at 9:42 PM henri girard <henri....@gmail.com> wrote:

do you share the code for example 16.6.1 


There are actually two versions of the figure. There is a static version that you should see on a phone or tablet. I think I used Maple to generate those, and I may still have the code somewhere, but I'd have to really dig around.

In a browser you should see an interactive version. The code for that is right in the source for the page. It's javascript relying on the threejs libraries.

-- David
Reply all
Reply to author
Forward
0 new messages