Черепаший треугольник.
%Рис к задаче 1.4.27 (35x35)
beginfig(17) ;
numeric u;
u = 0.8mm;
picture dash_one,dash_center;
dash_one:=dashpattern(on 2u off 2u);
dash_center:=dashpattern(on 3u off 1.5u on 0.5u off 1.5u);
numeric dphi; dphi=20;
draw 30u*dir (90+dphi)--30u*dir (210+dphi)--30u*dir (330+dphi)--cycle
dashed dash_one;
draw Turtle rotated (-120+dphi) scaled u shifted (30u*dir (90+dphi));
draw Turtle rotated dphi scaled u shifted (30u*dir (210+dphi));
draw Turtle rotated (120+dphi) scaled u shifted (30u*dir (330+dphi));
endfig ;
>>> Просмотр (962x1024, 52 Kb)