- /
-
Geometric design principles (2)
on 26 Oct 2021
- 6
- 41
- 5
- 0
- 279
x=[-1 1 0 -1 1 0];
y=[-1 1 4 1 -1 -4];
for r=1:7
for c=1:5
a=c*8-4*(mod(r,2)==1);
b=r*4;
patch(x+a,y+b,'w','edgealpha',0);
patch(y+a,x+b,[0.7 0.64 0.47],'edgealpha',0);
end
end
axis equal off;
set(gcf,'color',[0.13 0.19 0.31]);
axis([4 c*8-4 4 r*4]);
set(gca,'units','normalized','position',[0 0 1 1])