summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/examples/Transparency.tex
blob: cff51e0a1b69970847291a9133234caf3cc6eb19 (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
\documentclass[pstricks]{standalone}

\usepackage{pst-marble}
\pagestyle{empty}

\begin{document}

\begin{pspicture}(-4,-4)(4,4)
  \psMarble[viscosity=1000,opacity=0.35,
    actions={
      0 0 200 0 1 [1 0 0] 10 50 Gaussian-drops
      0 0 200 0 1 [0 1 0] 50 20 Gaussian-drops
      0 0 300 0 1 [0 0 1] 15 75 Gaussian-drops
  }](8,8)
  \psMarble[viscosity=1000,bckg=false,opacity=0.35,
    actions={
      -300 92 500
      {
        0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
      } for
      90 [11 200 0 tines] 40 200 31 rake
      -90 [11 200 0 tines] 40 200 31 rake
      0 0 [-350] 30 30 15 stir
      0 0 [-150] 60 30 15 stir
  }](8,8)
\end{pspicture}

\end{document}