• Remix
  • Share
  • New Entry

on 10 Oct 2021
  • 13
  • 51
  • 1
  • 0
  • 226
c = 1.618;
d = 2*pi/c;
theta = 0:d:1000;
r = sqrt(theta);
x = r.*cos(theta);
y = r.*sin(theta);
[v,c] = voronoin([x',y']);
for i = 1:length(c)
if all(c{i}~=1)
xp = v(c{i},1);
yp = v(c{i},2);
patch(xp,yp,i);
end
end
axis square off
axis(30*[-1 1 -1 1])
Remix Tree