• Remix
  • Share
  • New Entry

  • di

  • /
  • MATLAB Anniversary cake.

on 10 Oct 2021
  • 3
  • 11
  • 0
  • 0
  • 279
msg='MATLAB☆';
n=104;
r=5;
c=0.2;
p=@(l,t,i)text(l*sin(t),l*cos(t),msg(mod(i,7)+1),'Rotation',-t/pi*180,'Color',hsv2rgb(mod(i,8)/7*0.8,1,1),'FontSize',20-i/n*8);
for i=1:n
t=c*i;
l=sqrt(r*r*i/n);
p(l,t,i-1);
p(l,t+pi,i-1);
end
text(-0.4,0,'20th','FontSize',25-i/n*10);
xlim([-r,r]);
ylim([-r,r]);
axis off
Remix Tree