• New Entry

Spyrographs

Sudharsana Iyengar on 27 Oct 2021
  • 3
  • 6
  • 1
  • 0
  • 256
xlim([-1,1]);
ylim([-1,1]);
axis off
hold on
for i=0.5:.5:360
xt=sind(i);
yt=cosd(i);
xt2=.9*sind(3*i);
yt2=.9*cosd(3*i);
xt3=.7*sind(5*i);
yt3=.7*cosd(5*i);
p=plot([xt,xt2],[yt,yt2],'Color',[0 0 1]);
p2=plot([xt2,xt3],[yt2,yt3],'Color',[1 0 0]);
p.Color(4)=0.2;
p2.Color(4)=0.2;
end
Remix Tree