- /
-
Tetris memories
on 10 Oct 2021
- 49
- 50
- 0
- 0
- 220
figure(color='k')
u=.95;
x=[0 u u 0];
y=[0 0 u u];
z=[0 1 2 4 0 1 4 0 1 4 0 4 3 2 3 3;0 0 0 0 1 1 1 2 2 2 3 3 4 5 5 6;1 1 1 2 1 3 2 3 3 2 3 2 4 4 4 4];
m={'r','g','y','b'};
for i=z
fill(x+i(1),y+i(2),m{i(3)})
hold on
end
axis equal off