summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/examples/Eggcrate.tex
blob: da344a866e5c261a7ae25bcc8ab1c9817f751af6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\documentclass[pstricks]{standalone}
\usepackage{pst-marble}
\begin{document}
\begin{pspicture}(-6,-6)(6,6)
  \psMarble[
    background={
      [64 64 64]
    },
    colors={
      [0.200 0.000 0.015]
      [0.960 0.764 0.576]
      [0.316 0.362 0.298]
      [0.200 0.000 0.015]
      [0.023 0.145 0.451]
      [0.866 0.353 0.000]
    },
    viscosity=1000,
    oversample=1.5,
    actions={
      %% x y thick [ rgb ... ] n concentric-rings
      0 0 22 colors 40 concentric-rings
      %% x y [ r ... ] w th D stir
      -1000 0 [ 7 200 1000 tines ] 5 20 21 stir
      %% angle period ofst major minor jiggle
      -30 300 0 -80 80 jiggle
      60 300 0 -80 -80 jiggle
    },
    shadings={
      -30 300 0 -80 jiggle-shade
      60 300 0 -80 jiggle-shade
    }
  ](-6,-6)(6,6)
\end{pspicture}
\end{document}