- /
-
xmas tree
on 26 Oct 2022
- 5
- 14
- 1
- 0
- 242
n=100;
fac=1/100;
c=lines(6);
for i=1:1/fac
z = i*fac.*exp(2i*pi*(0:n)/n)+pi*(i/10)*fac.*exp(2i*pi*10*i*fac);
zj=[z;z(mod((0:n)*(1/fac-i+1),n)+1)];
line(imag(zj),(1/fac-i)/10+real(zj),i*ones(size(imag(zj))),'color',c(mod(i,6)+1,:))
end
axis square
axis off