metapost spiral
Hraban Ramm <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
Hi, in https://tug.ctan.org/info/drawing-with-metapost/Drawing-with-Metapost.pdf I found this code to draw a spiral: path S; S = origin for t=1 upto 90: .. 1/12 t * dir 16t endfor; draw S; I understand it starts at origin and adds a number of points – but where are the points (pairs)? There’s a number (distance?) and a direction (angle?). Could you explain this in layman’s terms? If I try a different starting point than origin, the spiral still is drawn around origin. I'd like to add it to another path and also randomize the points a bit to make it look hand-drawn. Hraban ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________