> > On Mon, 02 Apr 2012 at 12:32PM -0500, Jason Grout wrote: > >> For example, we could have truly dynamic graphs all in > >> the browser client. Imagine doing: > > >> var('a') > >> plot(sin(a*x), (x,0,1)) > > >> and having a javascript graph pop up with a slider for a. Or > > >> var('a') > >> @interact > >> def _(a=(0,1)): > >> interactive_plot(sin(a*x), (x,0,1)) > > >> and having the interact slider directly control a javascript plot of > >> sin(ax). We could do that if we can translate sin(a*x) into a > >> javascript function, then send that javascript function to the > >> browser. > > > I was just looking at Flot [1] yesterday, and we could definitely do > > something like that. We could also look at what GeoGebra is doing with > > their HTML5 export stuff, which can (I think) already do something like > > your sin(a*x) example. > > Yep, and I've played with jsxgraph doing this sort of thing too. > > It's definitely doable, and others are doing it right now. It's just a > matter of getting the design and interface right, then writing the code > (or maybe those two steps should be reversed, or iterated).
Please please someone who knows how to do this do it... See for example http://www.sagenb.org/home/pub/285/ and http://ask.sagemath.org/question/819/a-functional-java-applet-for-2d-plots and previous discussion of this at https://groups.google.com/forum/#!topic/sage-devel/kcQkzLZw7Us ... -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org