Ask Your Question

Using javascript towards regular Sage cluster

asked 2011-10-28 10:14:50 +0200

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 18:04:45 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-10-28 10:53:09 +0200

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 16:34:40 +0200 )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 10:14:50 +0200

Seen: 346 times

Last updated: Oct 28 '11