Ask Your Question
0

Using javascript towards regular Sage cluster

asked 13 years ago

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?

Preview: (hide)

Comments

very cool!

benjaminfjones gravatar imagebenjaminfjones ( 13 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 13 years ago

Jason Grout gravatar image

See also http://sage.cs.drake.edu/home/pub/81/, 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.

Preview: (hide)
link

Comments

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 ( 13 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 405 times

Last updated: Oct 28 '11