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

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

\begin{document}

\begin{pspicture}(-4,-4)(4,4)
  \psMarble[viscosity=1000,blendmode=5,shapealpha=1,
    % `5' --> /Darken (see pstricks.tex)
    actions={
      0 0 200 0 1 [1 0 0] 10 50 Gaussian-drops
      0 0 200 0 1 [0.7 0.5 0] 50 20 Gaussian-drops
      0 0 300 0 1 [0 0 0.5] 15 75 Gaussian-drops
  }](8,8)
  \psMarble[viscosity=1000,bckg=false,blendmode=5,shapealpha=1,
    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}