# animate 3d plots?

Is there an animation function for 3d plots? Specifically, I'm looking to animate some plots drawn with Tachyon, but I don't see any animation functions either in the Tachyon documentation or in the 3d base classes documentation. I have seen that there is an animate function for 2d plots, but it says that the input needs to be a "graphics object", and I don't think Tachyon objects are recognized as such. So maybe modifying the 2d animation functions could do what I want, but is there something else already available?

For an example, an animation where the curve changes color from magenta to white would be great:

sage: f = lambda t: (t,t^2,t^3) sage: t = Tachyon(camera_center=(5,0,4)) sage: t.texture('t') sage: t.light((-20,-20,40), 0.2, (1,1,1)) sage: t.parametric_plot(f,-5,5,'t',min_depth=6) sage: t.show()

p.s. If this **is** already available, I'll volunteer to add information about it to the Tachyon documentation.

Interesting question. The 2d plots seem to be animated by ImageMagick. For 3d, a different lib (as you mention). Saving a keyframe animation involves dumping the renderbuffer/framebuffer for those times. I will look at this too.

Could an interact do this? (The display/loop part, not the saving part.)