- /
-
Simple Matrix
on 5 Oct 2022
- 11
- 41
- 0
- 0
- 280
sz=128;
set(gcf,'color','k');
s='あ':'ン';
for i = sz:-1:0
rj =randi([1 sz],1)/8;
for j = sz-rj:-1:0
rn=randi([1 sz],1);
if rn<= 126
text(i,j,s(rn),'Color',abs([30-j*30/sz 170-j*170/sz 60-j*64/sz]/255)...
,'FontWeight','Bold','FontSize',4)
else
break
end
hold on
end
end
xlim([0 sz])
ylim([0 sz])
axis off