summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/3-4-2.mp
blob: 865f1859ad8e321bb0928bd0d107d27acd1a20d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% --- start of displayed preamble in the book ---
input metafun
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
draw unitsquare scaled 1.5cm
                randomized (1mm,2mm);
draw unitsquare scaled 1.5cm
                squeezed (1mm,5mm)
                shifted (3cm,0);
endfig;
end;