Ask Your Question

Using javascript towards regular Sage cluster

asked 2011-10-28 03:14:50 -0600

staffan gravatar image

ive been thinking how we could get more interactivity; and I actually got processing.js to work inside Sage. Scroll down and move the mouse around in the gray box (pun intended) to see what happens.

So can I get Sage to communicate with external javascrip libraries and how is it done for jquery, jsMath in Sage?

edit retag flag offensive close merge delete


very cool!

benjaminfjones gravatar imagebenjaminfjones ( 2011-10-29 11:04:45 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2011-10-28 03:53:09 -0600

Jason Grout gravatar image

See also, where I use jsxgraph to experiment with tangent lines. I do the same as you---write out the javascript explicitly. We don't have a coherent way to interact with javascript right now beyond just explicitly writing out the javascript.

edit flag offensive delete link more


Thx a lot Jason, I'll have a look at that, looks nifty ! So would it be feasible to layer with Sage graphics?

staffan gravatar imagestaffan ( 2011-10-28 09:34:40 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-10-28 03:14:50 -0600

Seen: 197 times

Last updated: Oct 28 '11