- /
-
Random snow flakes.
on 27 Oct 2021
- 4
- 15
- 0
- 0
- 252
L=9999;
hold on
axis off
v1=zeros(2,round(rand*15+10));
for i=1:size(v1,2)
v(:,i)=[L*rand,L*rand];
end
for ang=0:60:300
o=[cosd(ang), -sind(ang); sind(ang), cosd(ang)];
for i=1:2:size(v1,2)-1
R=o*v(:,i);
S=o*v(:,i+1);
m=plot([R(1),S(1)],[R(2),S(2)],'Linewidth',10);
end
end