summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-26 22:57:13 +0000
committerKarl Berry <karl@freefriends.org>2019-01-26 22:57:13 +0000
commitd4802db53ea2e712cd0acfb472b73891de14e27c (patch)
tree9342e2fa1d3dabcd7f920b0a3018eb8043fecacb /Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex
parent77f296fc4d17c9378658b6085929e839b4f1b9c8 (diff)
pst-marble (26jan19)
git-svn-id: svn://tug.org/texlive/trunk@49824 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex38
1 files changed, 38 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex
new file mode 100644
index 00000000000..9be69bf0e57
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex
@@ -0,0 +1,38 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+actions={
+ 150{rand srand
+ /n {rrand 360 mod} def
+ n sin 350 rrand 200 mod sub mul
+ n cos 350 rrand 200 mod sub mul
+ rrand 25 mod 5 add
+ [0.98 0.89 0.56] drop
+ } repeat
+ 150{rand srand
+ /n {rrand 360 mod} def
+ n sin 350 rrand 200 mod sub mul
+ n cos 350 rrand 200 mod sub mul
+ rrand 15 mod 7 add
+ [0.357 0.525 0.13] drop
+ } repeat
+ 150{rand srand
+ /n {rrand 360 mod} def
+ n sin 350 rrand 200 mod sub mul
+ n cos 350 rrand 200 mod sub mul
+ rrand 10 mod 8 add
+ [0.2 0.05 0.015] drop
+ } repeat
+ 150{rand srand
+ /n {rrand 360 mod} def
+ n sin 350 rrand 200 mod sub mul
+ n cos 350 rrand 200 mod sub mul
+ rrand 10 mod 3 add
+ [0.07 0.41 0.255] drop
+ } repeat
+0 0 -32e3 17 vortex
+}](10,10)
+\end{pspicture}
+\end{document} \ No newline at end of file