- /
-
dots
on 11 Oct 2021
- 9
- 86
- 6
- 0
- 280
figure('Color','k','Renderer','painters')
axis equal off
rotate(0,0,90,1)
function rotate(x1,y1,t,d)
x2=x1+cosd(t)*(d+20);
y2=y1+sind(t)*(d+20);
if d>0.01
line([x1 x2],[y1 y2],'LineSty','none','Marker','.','Color',1-[d/4 d/2 d].^(1/4));
rotate(x2,y2,t-35,d*0.7);
rotate(x2,y2,t+15,d*0.7);
end
end