• Remix
  • Share
  • New Entry

  • Sudharsana Iyengar

  • /
  • Curlique Fractals (Try with any irrational numbers or their sum, products etc)

on 4 Oct 2021
  • 2
  • 30
  • 0
  • 0
  • 210
t=0;
p=0;
a=0;b=0;
n=1500000;
s=log(2)*0.0185;
for k=1:n
t=mod(t+2*pi*s,2*pi);
p=mod(p,2*pi)+t;
[x,y]=pol2cart(p,1);
a=x+a;
b=y+b;
X(k)=a; Y(k)=b;
end
for i=1:100:n
line(X(i:i+99),Y(i:i+99),'linewidth',0.1,'color',rand(1,3))
end
axis off

Image

Remix Tree