You are on page 1of 1

%!

% A simple example for ER Mapper, showing a TRUECOLOR dynamic link


%%/WidthI 8.5 72 mul ?def % so can run under pageview
%%/HeightI 11 72 mul ?def
%%/from72pt { 1 mul } ?def

/colr 0 def
/circle { % draws a circle
newpath 0 360 arc stroke
} def
/spiro { % draws lots of circles
/ncircles exch def
gsave
ncircles {
colr 1 1 sethsbcolor
/colr 1 ncircles div colr add def
WidthI 6 div 0 WidthI 3 div circle
360 ncircles div rotate
} repeat
grestore
} def
WidthI 2 div HeightI 2 div translate
1 from72pt setlinewidth
90 spiro
showpage

You might also like