summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-2-14.mp
blob: 31c0985c9d801b4926c0144a00fe5e5e36fa2351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
% --- start of displayed preamble in the book ---

% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
numeric u; u=5mm;
pickup pencircle scaled 1pt;
for i:=0 step 10 until 360:
  draw ((i/360)*10u,3u*sind(i));
endfor;
pickup pencircle scaled .5;
endfig;
end;