• Remix
  • Share
  • New Entry

on 10 Nov 2023
  • 3
  • 19
  • 0
  • 0
  • 235
drawframe(1);
Write your drawframe function below
function drawframe(f)
%plot parameters
axis off
hold on
set(gcf,'Color','k');
i=f*7.5;
xt=sind(i);
yt=cosd(i);
xt2=.9*sind(6*i);
yt2=.9*cosd(6*i);
xt3=.7*sind(5*i);
yt3=.7*cosd(5*i);
p=plot([xt,xt2],[yt,yt2],'Color',[1 0 .2 .3]);
p2=plot([xt2,xt3],[yt2,yt3],'Color',[.2 0 1 .5]);
end
Animation
Remix Tree