ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sat, 29 Oct 2011 18:04:45 +0200Using javascript towards regular Sage clusterhttps://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/ive been thinking how we could get more interactivity; and I actually [got processing.js to work inside Sage](http://sagenb.org/home/pub/3445/). 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?Fri, 28 Oct 2011 10:14:50 +0200https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/Comment by benjaminfjones for <p>ive been thinking how we could get more interactivity; and I actually <a href="http://sagenb.org/home/pub/3445/">got processing.js to work inside Sage</a>. Scroll down and move the mouse around in the gray box (pun intended) to see what happens.</p>
<p>So can I get Sage to communicate with external javascrip libraries and how is it done
for jquery, jsMath in Sage?</p>
https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?comment=21001#post-id-21001very cool!Sat, 29 Oct 2011 18:04:45 +0200https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?comment=21001#post-id-21001Answer by Jason Grout for <p>ive been thinking how we could get more interactivity; and I actually <a href="http://sagenb.org/home/pub/3445/">got processing.js to work inside Sage</a>. Scroll down and move the mouse around in the gray box (pun intended) to see what happens.</p>
<p>So can I get Sage to communicate with external javascrip libraries and how is it done
for jquery, jsMath in Sage?</p>
https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?answer=12831#post-id-12831See 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.Fri, 28 Oct 2011 10:53:09 +0200https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?answer=12831#post-id-12831Comment by staffan for <p>See also <a href="http://sage.cs.drake.edu/home/pub/81/">http://sage.cs.drake.edu/home/pub/81/</a>, 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.</p>
https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?comment=21007#post-id-21007Thx a lot Jason, I'll have a look at that, looks nifty ! So would it be feasible to layer with Sage graphics?Fri, 28 Oct 2011 16:34:40 +0200https://ask.sagemath.org/question/8421/using-javascript-towards-regular-sage-cluster/?comment=21007#post-id-21007