summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/examples
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-marble/examples')
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.pdfbin0 -> 673946 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.tex59
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.pdfbin0 -> 357739 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.tex29
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex1.pdfbin0 -> 544475 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex1.tex27
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex2.pdfbin0 -> 419957 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex2.tex27
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex3.pdfbin0 -> 535630 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex3.tex18
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex4.pdfbin0 -> 1277025 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex4.tex38
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex5.pdfbin0 -> 470361 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/examples/ex5.tex17
14 files changed, 215 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.pdf
new file mode 100644
index 00000000000..6c77fe2ed1a
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.tex
new file mode 100644
index 00000000000..065139970b1
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/Blobs.tex
@@ -0,0 +1,59 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+ viscosity=1000,
+%% Background color goes here:
+ background=0.9 0.9 0.9,
+colors={
+ [0.176 0.353 0.129]
+ [0.635 0.008 0.094]
+ [0.078 0.165 0.518]
+ [0.824 0.592 0.031]
+ [0.059 0.522 0.392]
+ [0.816 0.333 0.475]
+},
+actions={
+ 0 0 600 colors 4 get drop
+ -200 -90 100 colors 5 get drop
+ -200 -200 200 colors 0 get drop
+ -200 200 200 colors 1 get drop
+ 200 -200 200 colors 2 get drop
+ 200 200 200 colors 3 get drop
+% Commenting vortex gives a fine result ...
+ 0 0 -32e3 750 vortex
+ 250 0 [ 120 80 ] 20 -100 20 stir
+ 0 -500 850 -30 15 colors 2 get 5 50 arc-drops
+ 0 -500 840 -30 16 colors 1 get 5 50 arc-drops
+ 0 -500 850 -30 15 colors 5 get 5 50 arc-drops
+ 0 0 150 0 15 10 [105 160 99] 35 20 spiral-drops
+}]
+\psMarble[
+ viscosity=1000,drawcontours,linewidth=0.2,linecolor=black,bckg=false,
+%% Background color goes here:
+ background=0.9 0.9 0.9,
+colors={
+ [0 0 0]
+ [0 0 0]
+ [0 0 0]
+ [0 0 0]
+ [0 0 0]
+ [0 0 0]
+},
+actions={
+ 0 0 600 colors 4 get drop
+ -200 -90 100 colors 5 get drop
+ -200 -200 200 colors 0 get drop
+ -200 200 200 colors 1 get drop
+ 200 -200 200 colors 2 get drop
+ 200 200 200 colors 3 get drop
+ 0 0 -32e3 750 vortex
+ 250 0 [ 120 80 ] 20 -100 20 stir
+ 0 -500 850 -30 15 colors 2 get 5 50 arc-drops
+ 0 -500 840 -30 16 colors 1 get 5 50 arc-drops
+ 0 -500 850 -30 15 colors 5 get 5 50 arc-drops
+ 0 0 150 0 15 10 colors 5 get 35 20 spiral-drops
+}]
+\end{pspicture}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.pdf
new file mode 100644
index 00000000000..46de02ea5e4
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.tex
new file mode 100644
index 00000000000..b92d26651d0
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/Bouquet.tex
@@ -0,0 +1,29 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-6,-6)(6,6)
+\psMarble[
+ viscosity=-1000,%drawcontours,
+%bckg=false,
+%% Background color goes here:
+ background=0.9 0.9 0.9,
+colors={
+ [0.176 0.353 0.129]
+ [0.635 0.008 0.094]
+ [0.078 0.165 0.518]
+ [0.824 0.592 0.031]
+ [0.059 0.522 0.392]
+ [0.816 0.333 0.475]
+},
+actions={%1.2 1.2 scale
+ 0 0 35 colors 35 concentric-rings
+ 0 350 shift
+ 180 [ 20 50 25 tines ] 40 200 31 rake
+ 90 {0.75 mul sin -120 mul} wiggle
+ 180 [ 3 600 -150 tines ] 40 200 31 rake
+ 90 {0.75 mul sin 240 mul} wiggle
+ 180 [ 3 600 150 tines ] 40 200 31 rake
+ 90 {0.75 mul sin -120 mul} wiggle
+}](12,12)
+\end{pspicture}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.pdf
new file mode 100644
index 00000000000..856bdfb0ea0
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.tex
new file mode 100644
index 00000000000..2ca19db5146
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex1.tex
@@ -0,0 +1,27 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-7)(5,7)
+\psMarble[
+ background=1 1 0.9,
+ colors={
+[0.98 0.89 0.56]
+[0.357 0.525 0.13]
+[0.2 0.05 0.015]
+[0.07 0.41 0.255]
+[0.87 0.63 0.051]
+[0.98 0.89 0.56]
+},
+ actions={
+0 100 50 colors 25 concentric-rings
+ /signe 1 def
+ 100 100 1000 {/radius exch def
+ 0 0 [radius] 10 60 signe mul 50 stir
+ /signe signe neg def
+ } for
+ 90 [ 7 200 200 tines ] 40 200 31 rake
+ -90 [ 7 200 100 tines ] 40 200 31 rake
+ 0 {2 mul sin 20 mul} wiggle
+ }](10,14)
+\end{pspicture}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.pdf
new file mode 100644
index 00000000000..071c15e62d4
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.tex
new file mode 100644
index 00000000000..ad98b6f4a3e
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex2.tex
@@ -0,0 +1,27 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+colors={
+[0.98 0.89 0.56]
+[0.357 0.525 0.13]
+[0.2 0.05 0.015]
+[0.07 0.41 0.255]
+[0.87 0.63 0.051]
+[0.98 0.89 0.56]
+},
+actions={
+0 0 45 colors 26 concentric-rings
+0 500 -32e3 15 vortex
+500 0 -32e3 15 vortex
+-500 0 -32e3 15 vortex
+0 -500 -32e3 15 vortex
+-350 350 -32e3 15 vortex
+350 -350 -32e3 15 vortex
+350 350 -32e3 15 vortex
+-350 -350 -32e3 15 vortex
+0 0 -32e3 15 vortex
+}](10,10)
+\end{pspicture}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.pdf
new file mode 100644
index 00000000000..dd3076a2f9f
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.tex
new file mode 100644
index 00000000000..f30edbfb9be
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex3.tex
@@ -0,0 +1,18 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[viscosity=1000,
+ background=1 1 1,
+ actions={
+40 [0 0 1] 30 random-drops
+25 [1 0 0] 40 random-drops
+30 [1 1 1] 25 random-drops
+45 [11 100 0 tines] 50 100 30 rake
+-45 {5 mul sin 50 mul} wiggle
+45 {5 mul sin 50 mul} wiggle
+250 250 [275] -10 60 30 stir
+-250 -250 [275] 10 60 30 stir
+ }](10,10)
+\end{pspicture}
+\end{document} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.pdf
new file mode 100644
index 00000000000..e0e4d2fc191
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex4.pdf
Binary files differ
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
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.pdf b/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.pdf
new file mode 100644
index 00000000000..1f6707935b5
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.tex b/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.tex
new file mode 100644
index 00000000000..cc32df20707
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/pst-marble/examples/ex5.tex
@@ -0,0 +1,17 @@
+\documentclass[pstricks]{standalone}
+\usepackage{pst-marble}
+\begin{document}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[viscosity=1000,
+ background=1 1 1,
+ actions={
+40 [0 0 0] 30 random-drops
+30 [1 0 0] 25 random-drops
+25 [1 1 0] 40 random-drops
+45 [11 100 0 tines] 50 100 30 rake
+-45 {5 mul sin 50 mul} wiggle
+250 250 -32e3 10 vortex
+-250 -250 32e3 10 vortex
+ }](10,10)
+\end{pspicture}
+\end{document} \ No newline at end of file