On Wed, Oct 21, 2009 at 9:13 AM, Marshall Hampton <hampto...@gmail.com> wrote:
>
> animate does not currently support 3D.  There are quite a few possible
> solutions to this, but none have been completely implemented yet.
>
> One option is to install ffmpeg, and use it to animate individual
> frames produced by Tachyon.  This is how I am currently making 3D
> animations with Sage.  However, its not clear that ffmpeg is
> completely free of patent issues, so it probably won't get in to Sage
> as a standard component ever.  It might be possible to use just the
> theora or dirac codecs but I don't have much experience with them.

You could also make 3d animated GIF's.  It's old school 1990's, but it
would at least work.
I'm totally amazed I still haven't made this work with 3d plots yet...

William

>
> A more promising option for the notebook is use a html/javascript
> solution.  A first step would be to make 2D animations that way, which
> was attempted in the following ticket:
> http://trac.sagemath.org/sage_trac/ticket/1483
>
> Unfortunately I stalled in the review process for that, hopefully
> someone will breathe some life in it soon.  As browsers continue to
> evolve and javascript implementations improve this will probably be
> the best solution.
>
> -Marshall Hampton
>
> On Oct 20, 8:33 pm, QuantumDream <m.cohomol...@gmail.com> wrote:
>> In 2d the following code works fine
>> ================================================
>> a = animate([point([k,k^2], pointsize=50, rgbcolor='red') for k in
>> srange(-1,2,0.5)], xmin=-2, xmax=2, ymin=-1, ymax=5)
>> a.show()
>> =================================================
>>
>> Now if I try to do something like:
>> ==================================================
>> a = animate([point([k,k^2,-k], pointsize=50, rgbcolor='red') for k in
>> srange(-1,2,0.5)])
>> a.show()
>> ==================================================
>>
>> I get errors that the Point object is not callable.
>>
>> Any ideas how to resolve this?
>>
>> Thanks,
>> -M.
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to