summaryrefslogtreecommitdiff
path: root/info/drawing-with-metapost/src/curves-spiral-equiangular.mp
blob: 81e45147c70b6f061c3be8f19fca4e4560be6464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\documentclass{standalone}
\usepackage{luamplib}
\begin{document}
\mplibtextextlabel{enable}
\begin{mplibcode}
beginfig(1);  
    numeric a; a = 2.6; path S; 
    S = right for t=1 upto 360: .. a ** (t/64) * dir 4t endfor;
    drawarrow S;
% input ruler-cm
endfig;
\end{mplibcode}
\end{document}