• Remix
  • Share
  • New Entry

on 14 Oct 2021
  • 4
  • 22
  • 0
  • 0
  • 247
% For more information about this plot, see Cleve's post.
% https://blogs.mathworks.com/cleve/2016/12/25/seasons-greetings-fractal/
tree = @(c,x,r) cumsum(exp(1i*(c*x.*x + r)));
c = pi*(1+sqrt(5))/2;
npts = 4000;
x = 0:npts;
rot = 0.375;
z = tree(c,x,rot);
plot(real(z),imag(z),'.',Color=[0.2 0.4 0.1],MarkerSize=6);
line(real(z),imag(z),Color=[0.5 0.7 0.4])
axis equal off
axis([-20 80 -20 80])
Remix Tree