texmf-dist/doc/latex/exam-n/sample/fig/spiral.eps
raw| 1 | %!PS-Adobe-3.0 EPSF-3.0 |
| 2 | % Shrinking squares, cgl Feb 97 |
| 3 | % Adapted from http://www.ntg.nl/maps/pdf/19_12.pdf |
| 4 | % this version... |
| 5 | %%Creator: [email protected] |
| 6 | %%BoundingBox: 0 0 200 125 |
| 7 | /b 0.6180339887 def % (\sqrt5-1)/2 |
| 8 | /x 200 def |
| 9 | /y x b mul def |
| 10 | /square { |
| 11 | 0 y lineto y y lineto y 0 lineto |
| 12 | y 0 y 180 90 arcn y y translate |
| 13 | } def |
| 14 | 0.35 setlinewidth |
| 15 | 16 { |
| 16 | 0 0 moveto square -90 rotate |
| 17 | /x y def /y x b mul def |
| 18 | } repeat |
| 19 | stroke |
| 20 | |
| 21 | %showpage |
| 22 |