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

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