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