1 | initial version |
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.