- /
-
Box fractal
on 5 Oct 2021
- 5
- 7
- 1
- 0
- 134
A = true;
for i=1:5
B=num2cell(A);
B(A)={[1 0 1;0 1 0;1 0 1]>0};
B(~A)={false(3,3)};
A=cell2mat(B);
end
imagesc(A); axis equal off; colormap(bone);