On Thu, 10 Sep 2009 at 10:23AM +0200, x x wrote:
> If Graphics3d object would inherit Graphics object then animate would work?
> 
> I could make an animated gif of Graphics3d object if  i could save it
> to a .gif file.
> Is this possible?

You can save graphics as PNGs, and then use something like ffmpeg2theora
to create a Theora video file. I'm sure there are many other video tools
that will create a video from a series of images.

> The following code doesn't work:
> ---------
> var('x,y,z')
> p=implicit_plot3d(x*y+z^2==0, (x, -3, 3), (y, -3, 3), (z, -3,
> 3),viewer='tachyon')
> p.save("TEST.gif")
> ---------
> the output is:
> ---------
> TEST.gif.sobj
> --------

I think the problem here is that .gif is not a recognized image format.
Try .png instead.

Dan

-- 
---  Dan Drake
-----  http://mathsci.kaist.ac.kr/~drake
-------

Attachment: signature.asc
Description: Digital signature

Reply via email to