- /
-
Lilly
on 11 Oct 2021
- 10
- 68
- 4
- 0
- 268
figure('Color','k')
axis equal off
rotate(-.35,-.5,45,1)
rotate(.35,.5,225,1)
function rotate(x1,y1,t,d)
s=.5^.5;
x2=x1+cosd(t)*(d);
y2=y1+sind(t)*(d/s);
if d>0.01
line([x1 x2],[y1 y2],'LineWi',4*d^.5,'Color',[1-d^.5,d^.5,1-d]);
rotate(x2,y2,t+60,d*.6);
rotate(x2,y2,t-12,d-.05);
end
end