diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-moire/pst-sin.pro')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-moire/pst-sin.pro | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-moire/pst-sin.pro b/Master/texmf-dist/doc/generic/pst-moire/pst-sin.pro new file mode 100644 index 00000000000..f3f9e82302b --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-moire/pst-sin.pro @@ -0,0 +1,26 @@ +moireDict begin +/pst-sin { +0 0 translate +2 dict begin +/A1 0.5 def % amplitude +/TRAME { +-50 E1 2 mul 50 {/n exch def +gsave + n E1 mul unit % x + A1 unit 360 Tr div n E1 mul mul sin mul % y + translate + linecolor + linewidth + -6 unit -6 m mul unit moveto + 6 unit 6 m mul unit lineto + stroke +grestore + } for +} def +Runit neg dup +Runit 2 mul dup +rectclip + TRAME +end +} def +end |