• Remix
  • Share
  • New Entry

on 6 Oct 2021
  • 4
  • 31
  • 3
  • 0
  • 215
hold on
p=i*exp(i*pi/3).^(0:2:4);
c=p;
for m=1:6
for n=1:3^m/3
b=3*n-2;
q(b:b+2,:)=(p(n,:)+p(n,:).')/2;
end
p=q;
end
arrayfun(@(x)l(x,c),q)
function l(q,c)
c=real(q'*c);
c(c<0)=0;
c(c>1)=1;
plot(real(q),imag(q),'h','MarkerEdgeColor',c)
end
Remix Tree
Load full remix tree