- /
-
Geometric design principles (4)
on 26 Oct 2021
- 11
- 29
- 2
- 0
- 280
k=sqrt(3);
x=[-1 -1 2];
y=[k -k 0];
l=@(a,b)linspace(a,b,50);
n=[l(.03,.95);l(.2,.96);l(.48,.97)]';
e='edgecolor';
for r=0:30
for c=0:10
a=6*c+3*mod(r,2);
b=k*r;
s=round(max(1,1.2*r+14*rand(1,2)));
patch(x+a,y-b,n(s(1),:),e,'w');
patch(4-x+a,y-b,n(s(2),:),e,'w');
end
end
axis equal off;
axis([2 65 -28*k 0]);