- /
-
Circular tessellation
on 22 Oct 2021
- 35
- 78
- 0
- 0
- 262
figure('Color','k','Renderer','painters')
axis equal off
for i=0:10:360
r(0,0,i,1)
end
function r(x1,y1,t,d)
s=.6;
x2=x1+cosd(t)*(d);
y2=y1+sind(t)*(d);
if d>0.02
line([x1 x2],[y1 y2],'LineWi',5*d,'Color',[abs(rand),1-d*s,abs(rand)]);
r(x2,y2,t+115,d*s);
r(x2,y2,t-115,d*s);
end
end