Author 
Message 
natman1 science forum beginner
Joined: 07 Jul 2006
Posts: 1

Posted: Fri Jul 07, 2006 5:19 pm Post subject:
Animate Curves



hi i am using maple 9.5, and am trying to animate some curves in 3 D.
I started with
s:=spacecurve([cos(t),sin(t),t],t=0..Pi);
animatecurve(s,t=0..2*Pi,frames=50);
I get a 2 d plot that does nothing, is there any way to get a 3d
animated curve drwing in maple.
Thanks: 

Back to top 


Robert B. Israel science forum Guru
Joined: 24 Mar 2005
Posts: 2151

Posted: Sun Jul 09, 2006 6:01 am Post subject:
Re: Animate Curves



In article <1152292746.962601.155010@m73g2000cwd.googlegroups.com>,
natman <natbrowne@gmail.com> wrote:
Quote:  hi i am using maple 9.5, and am trying to animate some curves in 3 D.
I started with
s:=spacecurve([cos(t),sin(t),t],t=0..Pi);
animatecurve(s,t=0..2*Pi,frames=50);
I get a 2 d plot that does nothing, is there any way to get a 3d
animated curve drwing in maple.

See the help file for animatecurve:
plots[animatecurve]  create an animation of the drawing of 2d plots
So it's not surprising that this doesn't create a 3d animation.
Moreover, your syntax is completely wrong for animatecurve: the first
argument is supposed to be a function to be plotted, not a plot command.
I think what you have in mind is
Quote:  with(plots):
animate(spacecurve,[[cos(t),sin(t),t],t=0..T],T=0..2*Pi); 
Robert Israel israel@math.ubc.ca
Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia Vancouver, BC, Canada 

Back to top 


Google


Back to top 



The time now is Fri Oct 20, 2017 7:57 pm  All times are GMT

