#1483: [with patch, needs work] animate -- polish the animate command
-------------------------+--------------------------------------------------
Reporter: was | Owner: mhampton
Type: enhancement | Status: new
Priority: major | Milestone: sage-feature
Component: graphics | Keywords:
Reviewer: | Author:
Merged: |
-------------------------+--------------------------------------------------
Comment(by jhpalmieri):
Here's a stab at using javascript to do animations. This doesn't work, but
I don't understand enough about the notebook and/or javascript to know
why; maybe someone else can do something with it. To try it:
{{{
a = animate([sin(x + float(k)) for k in srange(0,2*pi,0.3)], xmin=0,
xmax=2*pi, figsize=[2,1])
a.js()
}}}
This ought to show the animation, but it doesn't. As a compromise, it
creates a link "animate.html" which shows the animation in a separate
browser window.
(Since this doesn't work, it doesn't have much of a docstring, and there
are no doctests.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/1483#comment:5>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---