• Remix
  • Share
  • New Entry

on 24 Oct 2022
  • 2
  • 10
  • 0
  • 0
  • 245
nq=12;%number of quadrants
np=100;%number of point per axis
hp=1:np;
hp=[hp;zeros(size(hp))];
rv=@(x) [cos(x),-sin(x);sin(x),cos(x)];
for j=1:floor(nq)
vp=rv(2*pi/nq)*hp;
for i=1:np
lp=[hp(:,i),vp(:,np-i+1)];
plot(lp(1,:),lp(2,:),'color',lines(1));hold on
end
hp=vp;
end
axis([-np np -np np])
axis square
axis off
Remix Tree