![]() |
![]() |
|||||||||||||||||||||||||||||||||||
![]() |
![]() |
|||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||
> restart: > with(plots):
Warning, the name changecoords has been redefined > x1:=cos(3*t):y1:=sin(3*t): > x2:=3*cos(t):y2:=3*sin(t): > x:=x1+x2:y:=y1+y2: > a:=plot([x,y,t=0..2*Pi],color=red,scaling=constrained,axes=none): > a1:=animate([x1+3*cos(s),y1+3*sin(s),s=0..2*Pi],t=0..2*Pi,color=green, > a11:=animate([(1-s)*x1+s*x,(1-s)*y1+s*y,s=0..1],t=0..2*Pi,color=pink, > a2:=animate([x2+cos(s),y2+sin(s),s=0..2*Pi],t=0..2*Pi,color=brown, > a21:=animate([(1-s)*x2+s*x,(1-s)*y2+s*y,s=0..1],t=0..2*Pi,color=grey, > b:=plot([2*cos(t),2*sin(t),t=0..2*Pi],color=blue,scaling=constrained,axes=none): > display(a,a1,a11,a2,a21,b);
|
||||||||||||||||||||||||||||||||||||