summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex
new file mode 100644
index 00000000000..3c449aa156a
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/Blendmodes.tex
@@ -0,0 +1,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}