summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex825
1 files changed, 480 insertions, 345 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex b/Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex
index 290f3e47d92..6d35bebb875 100644
--- a/Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex
+++ b/Master/texmf-dist/doc/generic/pst-marble/pst-marble-doc.tex
@@ -38,6 +38,7 @@
dvipsnames,
svgnames,
x11names,
+ distiller
]{pst-doc}
\usepackage[autostyle]{csquotes}
@@ -54,7 +55,7 @@
\begin{document}
-\title{pst-marble v 1.2}
+\title{pst-marble v 1.3}
\subtitle{A PSTricks package to draw marble-like patterns}
\author{%
Aubrey \textsc{Jaffer}\\
@@ -74,27 +75,34 @@
\begin{abstract}\parskip4pt\parindent0pt
-Marbling originated in Asia as a decorative art more than 800 years ago and spread to Europe in the 1500s where it was used for endpapers and book covers.
+Marbling originated in Asia as a decorative art more than 800 years ago and spread to Europe in the 1500s where it was used for end-papers and book covers.
The mathematical fascination with paint marbling is that while rakings across the tank stretch and deform the paint boundaries, they do not break or change the topology of the surface. With mechanical guides, a raking can be undone by reversing the motion of the rake to its original position. Raking is thus a physical manifestation of a homeomorphism, a continuous function between topological spaces (in this case between a topological space and itself) that has a continuous inverse function.
\begin{center}
\begin{pspicture}(-8,-6)(6,6)
-\psMarble[background={[1 1 1]},
+ \psMarble[
+ background={
+ [1 1 1]
+ },
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]
+ [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]
},
+ viscosity=1000,
actions={
0 0 24 colors 36 concentric-rings
- 0 350 shift
180 [ 20 50 25 tines ] 40 200 31 rake
- 90 270 0 -120 wiggle
+ 0 350 shift
+ 0 270 0 -120 wiggle
180 [ 3 600 -150 tines ] 40 200 31 rake
- 90 270 0 240 wiggle
+ 0 270 0 240 wiggle
180 [ 3 600 150 tines ] 40 200 31 rake
- 90 270 0 -120 wiggle
+ 0 270 0 -120 wiggle
}
](12,12)
\psframe(-8,-6)(6,6)
@@ -103,7 +111,7 @@ The mathematical fascination with paint marbling is that while rakings across th
\end{center}
{\tiny\begin{verbatim}
\begin{pspicture}(-8,-6)(6,6)
-\psMarble[background={[1 1 1]},
+ \psMarble[background={[1 1 1]},
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]
@@ -111,13 +119,13 @@ The mathematical fascination with paint marbling is that while rakings across th
},
actions={
0 0 24 colors 36 concentric-rings
- 0 350 shift
180 [ 20 50 25 tines ] 40 200 31 rake
- 90 270 0 -120 wiggle
+ 0 350 shift
+ 0 270 0 -120 wiggle
180 [ 3 600 -150 tines ] 40 200 31 rake
- 90 270 0 240 wiggle
+ 0 270 0 240 wiggle
180 [ 3 600 150 tines ] 40 200 31 rake
- 90 270 0 -120 wiggle
+ 0 270 0 -120 wiggle
}
](12,12)
\psframe(-8,-6)(6,6)
@@ -149,7 +157,7 @@ The mathematical fascination with paint marbling is that while rakings across th
Aubrey Jaffer's article on the physical and mathematical interpretation of the formation of various types of marbling:
\begin{center}
-\url{https://arxiv.org/abs/1810.04646}
+\url{https://arxiv.org/abs/1702.02106}
\end{center}
Aubrey Jaffer has improved the model shown in the previous version of \texttt{pst-marble}. Now it is closer to reality and more consistent in the choice of units. This version allows to perform more accurate simulations, however with some new parameters, which will be explained.
@@ -176,13 +184,13 @@ Compared to the previous version, Aubrey Jaffer has reviewed some parameters:
\texttt{vortex} now models a Lamb-Oseen vortex. We'll refer to the article he wrote to study the theory:
\begin{center}
-\url{http://people.csail.mit.edu/jaffer/Marbling/vortex.pdf}
+\url{https://arxiv.org/abs/1810.04646}
\end{center}
The documentation illustrates the parameters that are now used:
Center coordinates in mm, circulation in $\mathrm{mm^2/s}$ and time in s.
-The primitive \texttt{line} has now become \texttt{rake} and allows to represent the obtained image when the artist equips himself with a comb (rake) comprising a certain number of identical teeth of a given diameter. He places the comb perpendicularly to a direction fixed by the angle made with the $Oy$-axis (the angle is positive clockwise) and moves it with a speed of (\texttt{V}) along the indicated direction or contrary to it, depending on the sign of the parameter \texttt{tU}. The positions of the teeth are fixed by the distances (in mm) indicated within the list [between the brackets]---the comb/rake can also comprise only one tooth.
+The primitive \texttt{line} has now become \texttt{rake} and allows to represent the obtained image when the artist equips himself with a comb (rake) having a certain number of identical teeth of a given diameter. He places the comb perpendicularly to a direction fixed by the angle made with the $y$-axis (the angle is positive clockwise) and moves it with a speed of (\texttt{V}) along the indicated direction or contrary to it, depending on the sign of the parameter \texttt{tU}. The positions of the teeth are fixed by the distances (in mm) indicated within the list [between the brackets]---the comb/rake can also have only one tooth.
By default, the tank's dimensions are 1 m $\times$ 1 m. The scaling factor of the image is 0.1. All lengths are in mm, velocities (in mm/s), angles (in degrees), angular velocity (in degrees/s), and viscosity and circulation (in $\mathrm{mm^2/s}$).
@@ -192,16 +200,17 @@ Aubrey Jaffer retains 1 global parameter: the dynamic viscosity, see in particul
\begin{center}
\url{https://arxiv.org/abs/1702.02106}
\end{center}
-There are 12 types of actions defined and ready to use:
+There are 13 types of actions defined and ready to use:
\begin{verbatim}
drop
line-drops
+ serpentine-drops
coil-drops
Gaussian-drops
uniform-drops
concentric-rings
rake
- stroke
+ stylus
stir
vortex
wiggle
@@ -211,14 +220,13 @@ They make it possible to create a very large variety of marblings with combinati
Initially there are drops of colors that the artist spreads with a brush on the surface (a bit of a hazard, even if they are located in a given region) and whose size depends on the brush. He performs the operation several times with other colors and also brushes of different sizes. These single drops, circular in shape, are placed with the following command
\begin{verbatim}
- cx cy r [rgb]
0 0 100 [0 0 1] drop
\end{verbatim}
Note, that the coordinates (\texttt{cx, cy}) of the center of the drop and its radius \texttt{r} are in points, the colors need to be setup in the rgb-color-system: (values between 0 and 1). Details are given in the following sections. So this is the first phase: arrange the drops on the surface in several stages with different radii and colors. To facilitate the experimentation of different types of actions, Aubrey Jaffer imagined an initial background obtained by dropping (one after the other) drops of different colors (we can also differentiate their radii) at the same point, they all have the same center, we then obtain an initial background consisting of concentric rings, named ``concentric-rings''.
-Aubrey Jaffer coded all the possible simulations with the expected deformations (rake, stroke, stir, wiggle, vortex) in pure PostScript and his new code, perfectly structured, and whose use is very simple, would be enough to itself, if it weren't necessary for each test, to add lines, delete others, save them within the original PostScript file \ldots
+Aubrey Jaffer coded all the possible simulations with the expected deformations (rake, stylus, stir, wiggle, vortex) in pure PostScript and his new code, perfectly structured, and whose use is very simple, would be enough to itself, if it weren't necessary for each test, to add lines, delete others, save them within the original PostScript file \ldots
-Therefore, Manuel Luque and Jürgen Gilg have decided to adapt that into PSTricks (with the agreement of Aubey Jaffer). A \verb+\psMarble+ command to switch easily between the different types of actions and add a global viscosity parameter to the PostScript code. There are two ways to calculate and represent the drops.
+Therefore, Manuel Luque and Jürgen Gilg have decided to adapt that into PSTricks (with the agreement of Aubrey Jaffer). A \verb+\psMarble+ command to switch easily between the different types of actions and add a global viscosity parameter to the PostScript code. There are two ways to calculate and represent the drops.
\begin{itemize}
\item We are interested only in their contour whose transformation is calculated after each addition of a new drop and whose interior is colored with its color (each drop retains its color);
\item in the second case we consider the surface as a grid of points (square pixels of side 1 pt) and each drop is represented by the points situated between its edges.
@@ -272,8 +280,7 @@ The first drop of paint placed within water forms a circle with the area $a$. If
\end{center}
The command to drop a drop is written as follows:
\begin{verbatim}
- cx cy r r g b
- 0 0 100 [0 0 1] drop
+ 0 0 100 [0 0 1] drop
\end{verbatim}
Note that the coordinates of the center of the drop and its radius are in points\footnote {There is a scaling. Example: if the largest dimension of the page is 4, 100 pts will be represented 0.4 cm} and its color is in the system rgb: (values between 0 and 1).
@@ -426,7 +433,7 @@ The boundaries between virtual paint rings will be traversed using the Minsky ci
\Lcs{psMarble}\OptArgs\Largr{x , y}
\end{BDef}
-The command \Lcs{psMarble} contains the options \nxLkeyword{actions=}, \nxLkeyword{background=}, \nxLkeyword{seed=}, \nxLkeyword{bckg=true/false}, \nxLkeyword{viscosity=}, \nxLkeyword{drawcontours=true/false} and \nxLkeyword{colors=}.
+The command \Lcs{psMarble} contains the options \nxLkeyword{actions=}, \nxLkeyword{background=}, \nxLkeyword{seed=}, \nxLkeyword{oversample=}, \nxLkeyword{bckg=true/false}, \nxLkeyword{viscosity=}, \nxLkeyword{drawcontours=true/false} and \nxLkeyword{colors=}.
The optional argument \Largr{x , y} gives the \texttt{x} and \texttt{y} dimension of the image---the default is \Largr{10,10}.
@@ -438,6 +445,7 @@ The optional argument \Largr{x , y} gives the \texttt{x} and \texttt{y} dimensio
\Lkeyword{actions} & 0 0 35 colors 35 concentric-rings & The type of marbling action\\
\Lkeyword{background} & [0 0 0] & Background color to be used with rgb or RGB or hexadecimal notation\\
\Lkeyword{seed} & Mathematical Marbling & Random seed to obtain the same arrangement of random drops within \texttt{Gaussian-drops} and \texttt{uniform-drops}\\
+\Lkeyword{oversample} & 0 & Rendering option: the smaller the \texttt{oversample} value, the larger the pixels.\\
\Lkeyword{bckg} & true & Boolean: to turn on/off the background color\\
\Lkeyword{colors} & \parbox{5cm}{
[0.275 0.569 0.796]
@@ -453,7 +461,7 @@ The optional argument \Largr{x , y} gives the \texttt{x} and \texttt{y} dimensio
}%
& Colors of the marbling can be set within the rgb-color-system or as hexadecimal color constants\\
\Lkeyword{drawcontours} & false & Boolean: if set to \texttt{true}, it only draws the contours\\
-\Lkeyword{viscosity} & 1000 & Global primitive: viscosity of the system---if taken negative pixeled image\\
+\Lkeyword{viscosity} & 1000 & Global primitive: viscosity of the system\\
\bottomrule
\end{tabularx}
\end{quote}
@@ -463,15 +471,15 @@ The optional argument \Largr{x , y} gives the \texttt{x} and \texttt{y} dimensio
\textbf{Notes:}
\begin{itemize}
-\item If \texttt{viscosity<0}, the image will be pixeled, if set to positive values it will be non-pixeled.
-\item The boolean option \texttt{drawcontours} is by default set to \texttt{false}. If set to \texttt{true}, only the contours are drawn within the image.
-\item Sometimes it is quite helpful to be able to turn off the background color. This can be handled with the boolean key \texttt{bckg}, which if set to \texttt{false} turns off the background color.
-\item Colors can be setup within the rgb-color-system: \verb!colors={[0.1 0.4 0.9] [1 0 1] ... }! or \verb!colors={[255 0 0] [123 245 129] ... }!. As well can be entered hexadecimal color constants which are set up within parenthese like: \verb!colors={(e7cc9b) (c28847) (80410b) ... }! or with capital letters like: \verb!colors={(E7CC9B) (C28847) (80410B) ... }!
+\item If \texttt{oversample>0}, the image will be pixeled.
+\item The Boolean option \texttt{drawcontours} is by default set to \texttt{false}. If set to \texttt{true}, only the contours are drawn within the image.
+\item Sometimes it is quite helpful to be able to turn off the background color. This can be handled with the Boolean key \texttt{bckg}, which if set to \texttt{false} turns off the background color.
+\item Colors can be setup within the rgb-color-system: \verb!colors={[0.1 0.4 0.9] [1 0 1] ... }! or \verb!colors={[255 0 0] [123 245 129] ... }!. As well can be entered hexadecimal color constants which are set up within parentheses like: \verb!colors={(e7cc9b) (c28847) (80410b) ... }! or with capital letters like: \verb!colors={(E7CC9B) (C28847) (80410B) ... }!
\item For the \texttt{background} color curly braces are needed: \texttt{background=\{[0.2 0.5 0.7]\}}\\
or \texttt{background=\{[2 255 2]\}}.
-\item Following are introduced some basic actions, like \texttt{drop}, \texttt{line-drops}, \texttt{coil-drops}, \texttt{Gaussian-drops}, \texttt{uniform-drops}, \texttt{concentric-rings}, \texttt{rake}, \texttt{stroke}, \texttt{stir}, \texttt{vortex}, \texttt{wiggle} and \texttt{shift}.
+\item Following are introduced some basic actions, like \texttt{drop}, \texttt{line-drops}, \texttt{serpentine-drops},\texttt{coil-drops}, \texttt{Gaussian-drops}, \texttt{uniform-drops}, \texttt{concentric-rings}, \texttt{rake}, \texttt{stylus}, \texttt{stir}, \texttt{vortex}, \texttt{wiggle} and \texttt{shift}.
- Within the basic actions \texttt{stir} and \texttt{vortex}, there is defined each with a radius \texttt{r} parameter. If \texttt{r>0} is set, the deformation is counterclockwise, if set to positive values, the deformation is clockwise.
+ Within the basic actions \texttt{stir} and \texttt{vortex}, there is defined each with a radius \texttt{r} parameter. If \texttt{r<0} is set, the deformation is counterclockwise, if set to positive values, the deformation is clockwise.
\end{itemize}
@@ -480,32 +488,48 @@ or \texttt{background=\{[2 255 2]\}}.
\section{Rendering}
-As designs get more complicated, hundreds of drops and strokes, reverse-rendering is the only practical way to render them. As the number of strokes increases, the number of points in the contours needs to increase as well. As the number of drops increases, the time to compute each pixel becomes less than the time to compute each contour-point on the drops.
+As designs get more complicated, hundreds of drops and styluses, reverse-rendering is the only practical way to render them. As the number of strokes increases, the number of points in the contours needs to increase as well. As the number of drops increases, the time to compute each pixel becomes less than the time to compute each contour-point on the drops.
The reason that we don't always reverse-render is because its resolution is limited to the raster; forward-rendering designs remain crisp at any magnification.
+
+\subsection{\texttt{oversample}}
+
+
\begin{itemize}
-\item To use forward-rendering (pixelfree) we choose the option \texttt{viscosity>0} with a positive value.
-\item To use reverse-rendering (pixeled) we choose the option \texttt{viscosity<0} with a negative value. When a new drop is placed, the points in that drop retain their color, the outer points are calculated before being assigned their initial color. This possibility is operational by taking for \texttt{viscosity} (characteristic constant) a negative value.
+\item \texttt{oversample=0} is contour rendering (pixel-free).
+\item \texttt{oversample>0} is raster rendering.
+\item \texttt{oversample=0.5} is raster rendering at half resolution. It renders blocky images relatively quickly.
+\item \texttt{oversample=1} is raster rendering; the same as negative \texttt{viscosity=} from v1.2.
+\item \texttt{oversample>1} will take longer to render, the image produced by ghostscript will be no better than \texttt{oversample=1}.
\end{itemize}
+\textbf{Note:} The smaller the \texttt{oversample=} value, the more blocky the image gets. Typical values might be: 0, 0.5, 1.
+
+
+
+%\begin{itemize}
+%\item To use forward-rendering (pixel-free) we choose the option \texttt{viscosity>0} with a positive value.
+%\item To use reverse-rendering (pixeled) we choose the option \texttt{viscosity<0} with a negative value. When a new drop is placed, the points in that drop retain their color, the outer points are calculated before being assigned their initial color. This possibility is operational by taking for \texttt{viscosity} (characteristic constant) a negative value.
+%\end{itemize}
+
\begin{minipage}[t]{6cm}\kern0pt
\begin{pspicture}(-3,-3)(3,3)
-\psMarble[viscosity=-1000](6,6)
+\psMarble[oversample=0.4](6,6)
\end{pspicture}
{\small\begin{verbatim}
\begin{pspicture}(-3,-3)(3,3)
-\psMarble[viscosity=-1000](6,6)
+\psMarble[oversample=0.4](6,6)
\end{pspicture}
\end{verbatim}}
\end{minipage}
\hfill
\begin{minipage}[t]{6cm}\kern0pt
\begin{pspicture}(-3,-3)(3,3)
-\psMarble[viscosity=1000](6,6)
+\psMarble[oversample=1](6,6)
\end{pspicture}
{\small\begin{verbatim}
\begin{pspicture}(-3,-3)(3,3)
-\psMarble[viscosity=1000](6,6)
+\psMarble[oversample=1](6,6)
\end{pspicture}
\end{verbatim}}
\end{minipage}
@@ -651,7 +675,7 @@ actions={%
xc yc ang [ r ] [ rgb ] drad line-drops
\end{verbatim}
-Drops color \texttt{[rgb]} or color series of radius \texttt{drad} in a line centered at \texttt{xc, yc }and \texttt{ang} degrees from vertical. One drop is placed at each \texttt{r} distance from \texttt{xc, yc}.
+Drops color \texttt{[rgb]} or color series of radius \texttt{drad} in a line centered at \texttt{xc, yc }and \texttt{ang} degrees from vertical (clockwise). One drop is placed at each \texttt{r} distance from \texttt{xc, yc}.
For [r] we can use
\begin{verbatim}
@@ -720,6 +744,116 @@ actions={
\newpage
+\subsection{\texttt{serpentine-drops}}
+
+\texttt{serpentine-drops} deposits a series of drops on a
+ user-specified ``grid'' in a serpentine sequence.
+\begin{verbatim}
+xc yc [ x-places ] [ y-places ] ang rgb drad serpentine-drops
+
+xc, yc Coordinates of the center
+[ x-places ] x-coordinates for the x times y number of drops
+[ y-places ] y-coordinates for the x times y number of drops
+ang Rotation angle from vertical (clockwise)
+rgb Color of the drops or color series (array)
+drad Radius of the drops
+\end{verbatim}
+Places drops of colors \texttt{[ rgb ]} of radius \texttt{drad} in a serpentine
+pattern (starting lower left to right; right to left; left to right ...)
+at coordinates \texttt{[ x-places ] x [ y-places ]} relative to
+location \texttt{xc, yc} and rotated by \texttt{ang} degrees clockwise
+from vertical. The sequences \texttt{[ x-places ]} and \texttt{[ y-places ]}
+determine the order in which drops are placed. The resulting grid will not
+be square because each drop is moved by subsequent drops.
+\begin{center}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+actions={%
+0 0 [-200 -100 0 100 200][-200 0 200 ] 0 colors 20 serpentine-drops
+}
+](10,10)
+\multido{\iA=-2+1}{5}{%
+\psline[linecolor=red]{->}(\iA,-3.5)(\iA,-2.5)
+}
+\uput[-90](0,-3.5){\color{red}\texttt{x-places}}
+\multido{\iA=-2+2}{3}{%
+\psline[linecolor=red]{->}(3.5,\iA)(2.5,\iA)
+}
+\rput{90}(3.9,0){\color{red}\texttt{y-places}}
+\uput[-90](0,-3.5){\color{red}\texttt{x-places}}
+\psdot[linecolor=red](0,0)
+\uput[-90](0,0){\color{red}\texttt{xc,yc}}
+\psline[linecolor=blue,linestyle=dashed]{->}(-2,-1.5)(2,-1.5)
+\psline[linecolor=blue,linestyle=dashed]{<-}(-2,0.5)(2,0.5)
+\psline[linecolor=blue,linestyle=dashed]{->}(-2,2.5)(2,2.5)
+\end{pspicture}
+\end{center}
+{\tiny\begin{verbatim}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+actions={%
+0 0 [-200 -100 0 100 200][-200 0 200 ] 0 colors 20 serpentine-drops
+}
+](10,10)
+\multido{\iA=-2+1}{5}{%
+\psline[linecolor=red]{->}(\iA,-3.5)(\iA,-2.5)
+}
+\uput[-90](0,-3.5){\color{red}\texttt{x-places}}
+\multido{\iA=-2+2}{3}{%
+\psline[linecolor=red]{->}(3.5,\iA)(2.5,\iA)
+}
+\rput{90}(3.9,0){\color{red}\texttt{y-places}}
+\uput[-90](0,-3.5){\color{red}\texttt{x-places}}
+\psdot[linecolor=red](0,0)
+\uput[-90](0,0){\color{red}\texttt{xc,yc}}
+\psline[linecolor=blue,linestyle=dashed]{->}(-2,-1.5)(2,-1.5)
+\psline[linecolor=blue,linestyle=dashed]{<-}(-2,0.5)(2,0.5)
+\psline[linecolor=blue,linestyle=dashed]{->}(-2,2.5)(2,2.5)
+\end{pspicture}
+\end{verbatim}}
+
+
+\newpage
+
+
+\begin{verbatim}
+[ cnt spacing ofst tines ]
+\end{verbatim}
+Returns \texttt{cnt} numbers \texttt{spacing} apart with middle element equal to \texttt{ofst}.
+
+Used as well for the \texttt{rake} and \texttt{line-drops} command.
+
+\begin{center}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+actions={%
+0 0 [5 100 0 tines][6 75 20 tines] 30 colors 50 serpentine-drops
+}
+](10,10)
+\psline[linecolor=red](0,0)(0,4)
+\psline[linecolor=red](0,0)(4;60)
+\psarcn[linecolor=red]{->}(0,0){3.7}{90}{60}
+\uput{3.7}[75](0,0){\color{red}\texttt{ang}}
+\end{pspicture}
+\end{center}
+\begin{verbatim}
+\begin{pspicture}(-5,-5)(5,5)
+\psMarble[
+actions={%
+0 0 [5 100 0 tines][6 75 20 tines] 30 colors 50 serpentine-drops
+}
+](10,10)
+\psline[linecolor=red](0,0)(0,4)
+\psline[linecolor=red](0,0)(4;60)
+\psarcn[linecolor=red]{->}(0,0){3.7}{90}{60}
+\uput{3.7}[75](0,0){\color{red}\texttt{ang}}
+\end{pspicture}
+\end{verbatim}
+
+
+\newpage
+
+
\subsection{\texttt{coil-drops}}
\texttt{coil-drops} defines a series of drops along a circle or spiral.
@@ -728,7 +862,7 @@ xc yc r ang-strt arcinc rinc [rgb] cnt drad coil-drops
xc, yc Coordinates of the center
r Radius of the circle where the drops will lay on
-ang-str Start angle from vertical: if 0 it starts North, if 90 it starts East, ...
+ang-str Start angle from vertical (clockwise)
arcinc Arc-length between the drops
rinc Increment of r: if taken 0 it gives a circle,
if taken >0 it spirals outwards,
@@ -770,7 +904,7 @@ actions={
xc yc r ang eccentricity [ rgb ] cnt drad Gaussian-drops
\end{verbatim}
-Drops \texttt{cnt} paint drops with radius \texttt{drad} in normal (Gaussian) distribution centered at\texttt{ xc, yc} with radius \texttt{r}, \texttt{ang} degrees from vertical and length to width ratio \texttt{eccentricity} (1 is circular).
+Drops \texttt{cnt} paint drops with radius \texttt{drad} in normal (Gaussian) distribution centered at\texttt{ xc, yc} with radius \texttt{r}, \texttt{ang} degrees from vertical (clockwise) and length to width ratio \texttt{eccentricity} (1 is circular).
\texttt{[rgb]} can be one color or a color series.
@@ -786,7 +920,7 @@ colors={
},
actions={
200 0 100 0 1 colors 150 10 Gaussian-drops
--300 0 100 -30 4 [190 195 9] 55 10 Gaussian-drops
+-300 0 100 30 4 [190 195 9] 55 10 Gaussian-drops
}]
\pscircle[linecolor=red](2,0){!1}\pscircle[linecolor=red](2,0){!1 2 sqrt mul}
\pscircle[linecolor=red](2,0){!1 2 mul}
@@ -811,7 +945,7 @@ colors={
},
actions={
200 0 100 0 1 colors 150 10 Gaussian-drops
--300 0 100 -30 4 [190 195 9] 55 10 Gaussian-drops
+-300 0 100 30 4 [190 195 9] 55 10 Gaussian-drops
}]
\pscircle[linecolor=red](2,0){!1}\pscircle[linecolor=red](2,0){!1 2 sqrt mul}
\pscircle[linecolor=red](2,0){!1 2 mul}
@@ -837,7 +971,7 @@ actions={
xc yc xsid ysid angle [ rgb ] cnt drad uniform-drops
\end{verbatim}
-Drops \texttt{cnt} paint drops with radius \texttt{drad} in a uniform distribution in a \texttt{xsid} by \texttt{ysid} box centered at \texttt{xc, yc} and rotated by \texttt{angle}.
+Drops \texttt{cnt} paint drops with radius \texttt{drad} in a uniform distribution in a \texttt{xsid} by \texttt{ysid} box centered at \texttt{xc, yc} and rotated by \texttt{angle} from vertical (clockwise).
\texttt{[rgb]} can be one color or a color series.
\begin{center}
@@ -850,7 +984,7 @@ actions={
0 0 200 200 0 [[0.176 0.353 0.129][0.635 0.008 0.094][0.078 0.165 0.518]] 65 10 uniform-drops
-300 -200 150 200 0 colors 4 get 25 12 uniform-drops
100 300 400 50 0 colors 3 get 30 8 uniform-drops
--200 300 400 50 45 colors 5 get 30 8 uniform-drops
+-200 300 50 400 45 colors 5 get 30 8 uniform-drops
}]
\rput(0,0){\psframe(-1,-1)(1,1)}
\psline[linecolor=red]{|<->|}(-1,-1.2)(1,-1.2)\uput[-90](0,-1.2){\textcolor{red}{200}}
@@ -877,7 +1011,7 @@ actions={
0 0 200 200 0 [[0.176 0.353 0.129][0.635 0.008 0.094][0.078 0.165 0.518]] 65 10 uniform-drops
-300 -200 150 200 0 colors 4 get 25 12 uniform-drops
100 300 400 50 0 colors 3 get 30 8 uniform-drops
--200 300 400 50 45 colors 5 get 30 8 uniform-drops
+-200 300 50 400 45 colors 5 get 30 8 uniform-drops
}]
\rput(0,0){\psframe(-1,-1)(1,1)}
\psline[linecolor=red]{|<->|}(-1,-1.2)(1,-1.2)\uput[-90](0,-1.2){\textcolor{red}{200}}
@@ -1047,7 +1181,7 @@ By default, the tank's dimensions are 1 m $\times$ 1 m. The scaling factor of th
For a convex stylus or tine, \texttt{D} (in mm) is the ratio of its submerged volume to its wetted surface area. For a long cylinder it is its diameter.
\begin{verbatim}
-[ angle [ r ] V tU D /rake ]
+angle [ r ] V tU D rake
angle Angle from y-axis in degrees; 0 is up.
- If angle positve: direction is north-east (>90 south-east).
@@ -1155,7 +1289,7 @@ The stylus parameter \texttt{D} (given in mm) is the ratio of its submerged volu
\psMarble[viscosity=1000,linewidth=0.1,bckg=false,drawcontours,
colors={[0 0 0]},
actions={
-0 0 70 colors 26 concentric-rings
+0 0 50 2 sqrt mul colors 9 concentric-rings
% angle r V tU D
45 [200] 20 -100 50 rake
}](10,10)%
@@ -1165,7 +1299,7 @@ actions={
\uput{2.1}[67.5](0,0){$\alpha=45^{\mathrm{o}}$}
\psline{->}(0,0)(!2 sqrt 2 sqrt neg)
\uput[45](0.707,-0.707){$r>0$}
-\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1;225)}
+\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1.8;225)}
\rput(0.6,-1.7){\red tU}
\psgrid[subgriddiv=1,griddots=10,gridlabels=0pt]
\end{pspicture*}}
@@ -1175,7 +1309,7 @@ actions={
\psMarble[viscosity=1000,linewidth=0.1,bckg=false,drawcontours,
colors={[0 0 0]},
actions={
-0 0 70 colors 26 concentric-rings
+0 0 50 2 sqrt mul colors 9 concentric-rings
% angle r V tU D
45 [200] 20 -100 50 rake
}](10,10)%
@@ -1185,7 +1319,7 @@ actions={
\uput{2.1}[67.5](0,0){$\alpha=45^{\mathrm{o}}$}
\psline{->}(0,0)(!2 sqrt 2 sqrt neg)
\uput[45](0.707,-0.707){$r>0$}
-\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1;225)}
+\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1.8;225)}
\rput(0.6,-1.7){\red tU}
\psgrid[subgriddiv=1,griddots=10,gridlabels=0pt]
\end{pspicture*}
@@ -1213,7 +1347,7 @@ The stylus parameter \texttt{D} (given in mm) is set to 50 mm.
\psMarble[viscosity=1000,linewidth=0.1,bckg=false,drawcontours,
colors={[0 0 0]},
actions={
-0 0 70 colors 26 concentric-rings
+0 0 50 2 sqrt mul colors 9 concentric-rings
% angle r V tU D
45 [200] 20 100 50 rake
}](10,10)%
@@ -1223,7 +1357,7 @@ actions={
\uput{2.1}[67.5](0,0){$\alpha=45^{\mathrm{o}}$}
\psline{->}(0,0)(!2 sqrt 2 sqrt neg)
\uput[45](0.707,-0.707){$r>0$}
-\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1;45)}
+\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1.8;45)}
\rput(2.5,-0.9){\red tU}
\psgrid[subgriddiv=1,griddots=10,gridlabels=0pt]
\end{pspicture*}}
@@ -1233,7 +1367,7 @@ actions={
\psMarble[viscosity=1000,linewidth=0.1,bckg=false,drawcontours,
colors={[0 0 0]},
actions={
-0 0 70 colors 26 concentric-rings
+0 0 50 2 sqrt mul colors 9 concentric-rings
% angle r V tU D
45 [200] 20 100 50 rake
}](10,10)%
@@ -1243,7 +1377,7 @@ actions={
\uput{2.1}[67.5](0,0){$\alpha=45^{\mathrm{o}}$}
\psline{->}(0,0)(!2 sqrt 2 sqrt neg)
\uput[45](0.707,-0.707){$r>0$}
-\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1;45)}
+\rput(!2 sqrt 2 sqrt neg){\psline[linecolor=red,linewidth=0.1]{->}(0,0)(1.8;45)}
\rput(2.5,-0.9){\red tU}
\psgrid[subgriddiv=1,griddots=10,gridlabels=0pt]
\end{pspicture*}
@@ -1256,9 +1390,9 @@ actions={
\textbf{Example 3:} \verb+ 0 [11 100 0 tines] 50 100 30 rake+
\begin{verbatim}
-cnt spacing ofst tines
+[ cnt spacing ofst tines ]
-cnt Number of theeth
+cnt Number of teeth
spacing Displacement between the teeth
ofst Offset of the middle tooth
to the left (negative),
@@ -1347,15 +1481,15 @@ actions={%
\newpage
-\subsection{\texttt{stroke}}
+\subsection{\texttt{stylus}}
The documentation is on the web page:
\begin{center}
\url{http://people.csail.mit.edu/jaffer/Marbling/Mathematics}
\end{center}
-Parameters for \texttt{/stroke-deformation}: \texttt{bx, by, ex, ey, V, D}
+Parameters for \texttt{/stylus}: \texttt{bx, by, ex, ey, V, D}
\begin{verbatim}
-bx by ex ey V D stroke
+bx by ex ey V D stylus
bx, by Beginning of stroke
ex, ey End of stroke
@@ -1371,7 +1505,7 @@ D Stylus diameter in mm. Make larger to affect paint farther away.
actions={%
0 0 35 colors 32 concentric-rings
% X1 begin Y1 begin X2 end Y2 end V D
-30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 50 10 stroke
+30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 50 10 stylus
}](10,10)
\psset{linecolor=red,linewidth=0.1}
\pstVerb{/scaleFactor 10 1000 div def
@@ -1387,7 +1521,7 @@ actions={%
actions={%
0 0 35 colors 32 concentric-rings
% X1 begin Y1 begin X2 end Y2 end V D
-30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 50 10 stroke
+30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 50 10 stylus
}](10,10)
\psset{linecolor=red,linewidth=0.1}
\pstVerb{/scaleFactor 10 1000 div def
@@ -1410,7 +1544,7 @@ actions={%
actions={%
0 0 35 colors 32 concentric-rings
% X1 begin Y1 begin X2 end Y2 end V D
-30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 200 30 stroke
+30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 200 30 stylus
}](10,10)
\psset{linecolor=red,linewidth=0.1}
\pstVerb{/scaleFactor 10 1000 div def
@@ -1429,7 +1563,7 @@ actions={%
actions={%
0 0 35 colors 32 concentric-rings
% X1 begin Y1 begin X2 end Y2 end V D
-30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 200 30 stroke
+30 sin 400 mul 30 cos 400 mul 30 sin 100 mul 30 cos 100 mul 200 30 stylus
}](10,10)
\psset{linecolor=red,linewidth=0.1}
\pstVerb{/scaleFactor 10 1000 div def
@@ -1449,14 +1583,14 @@ actions={%
\subsection{\texttt{stir}}
-Consider a single stylus (a cylinder of diameter \texttt{D}) that is placed on the $Oy$-axis at a distance $r$ from the chosen center. In a circular motion, the artist rotates the stylus by an angle $\theta$. The angular velocity will influence the shape of the deformation. The direction of rotation is fixed by the sign of $\theta$. If $\theta>0$ the artist rotates counterclockwise \footnote{The sign of $r$ can also indicate the direction of rotation. If $r<0$ the direction of the rotation fixed by $\theta$ inverts.}.
+Consider a single stylus (a cylinder of diameter \texttt{D}) that is placed on the $y$-axis at a distance $r$ from the chosen center. In a circular motion, the artist rotates the stylus by an angle $\theta$. The angular velocity will influence the shape of the deformation. The direction of rotation is fixed by the sign of $\theta$. If $\theta>0$ the artist rotates clockwise \footnote{The sign of $r$ can also indicate the direction of rotation. If $r<0$ the direction of the rotation fixed by $\theta$ inverts.}.
\begin{verbatim}
cx cy [ r ] w th D stir
cx, cy Center coordinates in mm.
[ r ] List of radii in mm.
w Angular velocity in degrees/s.
-th=theta Angle displacement at tines in degrees.
+th Angle displacement at tines in degrees (clockwise).
D Tine diameter in mm.
\end{verbatim}
@@ -1464,7 +1598,7 @@ D Tine diameter in mm.
\textbf{Explanations for the key \texttt{th}:}
-Setting: \verb! 0 0 [ 350 ] 10 70 10 stir !
+Setting: \verb! 0 0 [ 350 ] 10 -70 10 stir !
\textbf{All} points on the circle are rotated by \texttt{th=70}. There is \textbf{no} partial stir operation.
\begin{center}
@@ -1485,7 +1619,7 @@ Setting: \verb! 0 0 [ 350 ] 10 70 10 stir !
350 20 cos mul 350 20 sin mul 15 [0.49 0.75 0.79] drop
350 40 cos mul 350 40 sin mul 15 [0.9 0.8 0.47] drop
350 60 cos mul 350 60 sin mul 15 [0.98 0.27 0.317] drop
- 0 0 [ 350 ] 10 70 10 stir
+ 0 0 [ 350 ] 10 -70 10 stir
}]
\psarc[arrowinset=0]{->}(0,0){3.9}{0}{70}
\psline[linecolor=blue](0;0)(3.5;0)
@@ -1706,7 +1840,7 @@ t Time after circulation impulse at center. As t gets very large, the
\texttt{/vortex} is modeled by a Lamb-Oseen vortex. We refer to the article written by Aubrey Jaffer:
\begin{center}
-\url{http://people.csail.mit.edu/jaffer/Marbling/vortex.pdf}
+\url{https://arxiv.org/abs/1810.04646}
\end{center}
The documentation illustrates the used parameters:
@@ -1828,16 +1962,16 @@ Animated gifs can be seen at:
linewidth=0.1,
bckg=false,
colors={
- (622e07)
- (c06d11)
- (8f6e1d)
- (56410d)
- (191504)
- },
+(622e07)
+(c06d11)
+(8f6e1d)
+(56410d)
+(191504)
+},
actions={
0 0 35 colors 33 concentric-rings
90 100 shift
--200 200 -32e3 10 vortex
+-200 200 -32e3 10 vortex
-200 -200 32e3 10 vortex
}](10,10)
\psdot[dotstyle=+,dotsize=0.25,linecolor=red](-2,-2)
@@ -1849,16 +1983,16 @@ actions={
linewidth=0.1,
bckg=false,
colors={
- (622e07)
- (c06d11)
- (8f6e1d)
- (56410d)
- (191504)
- },
+(622e07)
+(c06d11)
+(8f6e1d)
+(56410d)
+(191504)
+},
actions={
0 0 35 colors 33 concentric-rings
90 100 shift
--200 200 -32e3 10 vortex
+-200 200 -32e3 10 vortex
-200 -200 32e3 10 vortex
}](10,10)
\psdot[dotstyle=+,dotsize=0.25,linecolor=red](-2,-2)
@@ -1906,7 +2040,7 @@ It is recalled that the coordinates are in mm. If on the interval $-500 <x <500
linewidth=0.2,
actions={
0 0 35 colors 33 concentric-rings
- 0 648 0 50 wiggle
+ -90 648 0 50 wiggle
}](10,10)
\end{pspicture}
\end{center}
@@ -1916,7 +2050,7 @@ linewidth=0.2,
linewidth=0.2,
actions={
0 0 35 colors 33 concentric-rings
- 0 648 0 50 wiggle
+ -90 648 0 50 wiggle
}](10,10)
\end{pspicture}
\end{verbatim}}
@@ -1936,7 +2070,7 @@ $x'=x;\ y'=y+50\sin(5x)$.
linewidth=0.2,
actions={
0 0 35 colors 33 concentric-rings
- 90 648 0 50 wiggle
+ 0 648 0 50 wiggle
}](10,10)
\end{pspicture}
\end{center}
@@ -1946,7 +2080,7 @@ linewidth=0.2,
linewidth=0.2,
actions={
0 0 35 colors 33 concentric-rings
- 90 648 0 50 wiggle
+ 0 648 0 50 wiggle
}](10,10)
\end{pspicture}
\end{verbatim}}
@@ -2014,7 +2148,7 @@ actions={%
\begin{verbatim}
angle rad shift
-angle Angle
+angle Angle from vertical (clockwise)
rad Length of displacement vector
\end{verbatim}
The choice of units was made, so that 100 pts correspond to 1 cm within the image. \texttt{rad} is the length shifted.
@@ -2030,18 +2164,18 @@ colors={
},
actions={%
0 0 43 colors 32 concentric-rings
-45 200 shift}]
+30 300 shift}]
\pstVerb{%
/scaleFactor 10 1000 div def
-/xS1 45 cos 200 mul scaleFactor mul def
-/yS1 45 sin 200 mul scaleFactor mul def
+/xS1 30 sin 300 mul scaleFactor mul def
+/yS1 30 cos 300 mul scaleFactor mul def
}%
\rput(!xS1 yS1){\psline(0.5,0)(-0.5,0)\psline(0,0.5)(0,-0.5)}
\psline[linestyle=dashed](-5,0)(5,0)
\psline[linestyle=dashed](0,-5)(0,5)
-\psline[linecolor=red]{->}(0,0)(2;45)
-\psarc[linecolor=red](0,0){1}{0}{45}
-\uput{0.36}[22.5](0,0){\color{red}$\alpha$}
+\psline[linecolor=red]{->}(0,0)(3;60)
+\psarcn[linecolor=red]{->}(0,0){2.5}{90}{60}
+\uput{1.7}[75](0,0){\color{red}angle}
\end{pspicture}
\end{center}
The displacement vector is given by its \texttt{angle} $\alpha$ and its length \texttt{rad} in pts.
@@ -2057,18 +2191,18 @@ colors={
},
actions={%
0 0 43 colors 32 concentric-rings
-45 200 shift}]
+30 300 shift}]
\pstVerb{%
/scaleFactor 10 1000 div def
-/xS1 45 cos 200 mul scaleFactor mul def
-/yS1 45 sin 200 mul scaleFactor mul def
+/xS1 30 sin 300 mul scaleFactor mul def
+/yS1 30 cos 300 mul scaleFactor mul def
}%
\rput(!xS1 yS1){\psline(0.5,0)(-0.5,0)\psline(0,0.5)(0,-0.5)}
\psline[linestyle=dashed](-5,0)(5,0)
\psline[linestyle=dashed](0,-5)(0,5)
-\psline[linecolor=red]{->}(0,0)(2;45)
-\psarc[linecolor=red](0,0){1}{0}{45}
-\uput{0.36}[22.5](0,0){\color{red}$\alpha$}
+\psline[linecolor=red]{->}(0,0)(3;60)
+\psarcn[linecolor=red]{->}(0,0){2.5}{90}{60}
+\uput{1.7}[75](0,0){\color{red}angle}
\end{pspicture}
\end{verbatim}}
@@ -2095,11 +2229,11 @@ colors={
actions={%
0 0 45 colors 26 concentric-rings
-30 150 shift
- -100 20 140
- {/idx exch def
- -270 idx sub -30 idx 2 mul add [-270 idx 3 mul sub] 10 -90 50 stir
- } for
-90 720 0 10 wiggle
+-100 20 140
+{/idx exch def
+-270 idx sub -30 idx 2 mul add [-270 idx 3 mul sub] 10 90 50 stir
+} for
+0 720 0 10 wiggle
}](8,24)
\end{pspicture*}
\end{center}
@@ -2116,11 +2250,11 @@ colors={
actions={%
0 0 45 colors 26 concentric-rings
-30 150 shift
- -100 20 140
- {/idx exch def
- -270 idx sub -30 idx 2 mul add [-270 idx 3 mul sub] 10 -90 50 stir
- } for
-90 720 0 10 wiggle
+-100 20 140
+{/idx exch def
+-270 idx sub -30 idx 2 mul add [-270 idx 3 mul sub] 10 90 50 stir
+} for
+0 720 0 10 wiggle
}](8,24)
\end{pspicture*}
\end{verbatim}}
@@ -2134,59 +2268,51 @@ actions={%
\begin{center}
\begin{pspicture}(-5,-5)(5,5)
\psMarble[viscosity=1000,
- background={[0.9 0.9 0.9]},
- actions={
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.22 0.27 0.40] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.49 0.75 0.79] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.90 0.80 0.47] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 50 [0.98 0.27 0.32] drop
- } for
- } for
+background={[0.9 0.9 0.9]},
+actions={
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 0 tines ] [0.22 0.27 0.40] 80 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 10 tines ] [0.49 0.75 0.79] 60 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 -5 tines ] [0.90 0.80 0.47] 30 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 -5 tines ] [0.98 0.27 0.32] 60 line-drops
+ } for
180 [11 100 0 tines] 50 100 30 rake
- }](10,10)
+}](10,10)
\end{pspicture}
\end{center}
{\small\begin{verbatim}
\begin{pspicture}(-5,-5)(5,5)
\psMarble[viscosity=1000,
- background={[0.9 0.9 0.9]},
- actions={
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.22 0.27 0.40] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.49 0.75 0.79] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 75 [0.90 0.80 0.47] drop
- } for
- } for
- -400 200 400 {/cy exch def
- -400 200 400 {/cx exch def
- cx cy 50 [0.98 0.27 0.32] drop
- } for
- } for
+background={[0.9 0.9 0.9]},
+actions={
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 0 tines ] [0.22 0.27 0.40] 80 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 10 tines ] [0.49 0.75 0.79] 60 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 -5 tines ] [0.90 0.80 0.47] 30 line-drops
+ } for
+ -400 200 400
+ {/idx exch def
+ 0 idx 90 [ 5 200 -5 tines ] [0.98 0.27 0.32] 60 line-drops
+ } for
180 [11 100 0 tines] 50 100 30 rake
- }](10,10)
+}](10,10)
\end{pspicture}
\end{verbatim}}
@@ -2287,14 +2413,14 @@ colors={
[0.96 0.85 0.10]
},
actions={
- 0 0 30 colors 20 concentric-rings
+ 0 0 25 colors 15 concentric-rings
0 0 100 [0.78 0.02 0.10] drop
0 0 50 [0.77 0.92 0.47] drop
0 0 20 [0.11 0.18 0.00] drop
0 72 359
{
/a exch 2 mul def
- a sin 400 mul a cos 400 mul a sin 100 mul a cos 100 mul 10 50 stroke
+ a sin 400 mul a cos 400 mul a sin 100 mul a cos 100 mul 10 50 stylus
} for
}}%
\psMarble(10,10)
@@ -2318,14 +2444,14 @@ colors={
[0.96 0.85 0.10]
},
actions={
- 0 0 30 colors 20 concentric-rings
+ 0 0 25 colors 15 concentric-rings
0 0 100 [0.78 0.02 0.10] drop
0 0 50 [0.77 0.92 0.47] drop
0 0 20 [0.11 0.18 0.00] drop
0 72 359
{
/a exch 2 mul def
- a sin 400 mul a cos 400 mul a sin 100 mul a cos 100 mul 10 50 stroke
+ a sin 400 mul a cos 400 mul a sin 100 mul a cos 100 mul 10 50 stylus
} for
}}%
\psMarble(10,10)
@@ -2354,16 +2480,16 @@ actions={%
0 0 rad [1.00 0.04 0.08] drop
} for
-500 100 0 {/xpos exch def
- xpos -500 xpos 0 50 20 stroke
+ xpos -500 xpos 0 50 20 stylus
} for
0 100 500 {/xpos exch def
- xpos 500 xpos 0 50 20 stroke
+ xpos 500 xpos 0 50 20 stylus
} for
-500 100 0 {/ypos exch def
- 500 ypos 0 ypos 50 20 stroke
+ 500 ypos 0 ypos 50 20 stylus
} for
0 100 500 {/ypos exch def
- -500 ypos 0 ypos 50 20 stroke
+ -500 ypos 0 ypos 50 20 stylus
} for
}](10,10)
\end{pspicture}
@@ -2381,16 +2507,16 @@ actions={%
0 0 rad [1.00 0.04 0.08] drop
} for
-500 100 0 {/xpos exch def
- xpos -500 xpos 0 50 20 stroke
+ xpos -500 xpos 0 50 20 stylus
} for
0 100 500 {/xpos exch def
- xpos 500 xpos 0 50 20 stroke
+ xpos 500 xpos 0 50 20 stylus
} for
-500 100 0 {/ypos exch def
- 500 ypos 0 ypos 50 20 stroke
+ 500 ypos 0 ypos 50 20 stylus
} for
0 100 500 {/ypos exch def
- -500 ypos 0 ypos 50 20 stroke
+ -500 ypos 0 ypos 50 20 stylus
} for
}](10,10)
\end{pspicture}
@@ -2410,14 +2536,12 @@ actions={%
},
viscosity=1000,
actions={
- -300 92 500
- {
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
- } for
- 90 [ 9 220 0 tines ] 40 200 31 rake
- -90 [ 9 220 -100 tines ] 40 200 31 rake
- 0 0 [ -350 ] 30 30 15 stir
- 0 0 [ -150 ] 60 30 15 stir
+ 0 0 [ 12 100 -100 tines ] [ 12 98 80 tines ] 0 [ 76 95 63 ] 45 serpentine-drops
+ 0 0 [ 12 115 -100 tines ] [ 12 109.5 3 tines ] 0 [ 176 195 63 ] 20 serpentine-drops
+ 90 [ 9 228 18 tines ] 40 200 31 rake
+ -90 [ 9 228 -132 tines ] 40 200 31 rake
+ 0 0 [ -350 ] 30 30 15 stir
+ 0 0 [ -150 ] 60 30 15 stir
}
](12,12)
\end{pspicture}
@@ -2430,14 +2554,12 @@ actions={%
},
viscosity=1000,
actions={
- -300 92 500
- {
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
- } for
- 90 [ 9 220 0 tines ] 40 200 31 rake
- -90 [ 9 220 -100 tines ] 40 200 31 rake
- 0 0 [ -350 ] 30 30 15 stir
- 0 0 [ -150 ] 60 30 15 stir
+ 0 0 [ 12 100 -100 tines ] [ 12 98 80 tines ] 0 [ 76 95 63 ] 45 serpentine-drops
+ 0 0 [ 12 115 -100 tines ] [ 12 109.5 3 tines ] 0 [ 176 195 63 ] 20 serpentine-drops
+ 90 [ 9 228 18 tines ] 40 200 31 rake
+ -90 [ 9 228 -132 tines ] 40 200 31 rake
+ 0 0 [ -350 ] 30 30 15 stir
+ 0 0 [ -150 ] 60 30 15 stir
}
](12,12)
\end{pspicture}
@@ -2479,117 +2601,117 @@ actions={
\begin{minipage}[t]{10cm}\kern0pt
\begin{pspicture}(-5,-5)(5,5)
- \psMarble[
- 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]
- },
- viscosity=1000,
- 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
- 0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
- 0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
- 0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
- 0 0 150 0 70 10 [105 160 99] 35 20 coil-drops
- 250 0 [ 120 80 ] 20 -100 20 stir
- }
- ]
- \psMarble[
- colors={
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- },
- viscosity=1000,drawcontours,linewidth=0.2,linecolor=black,bckg=false,
- 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
- 0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
- 0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
- 0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
- 0 0 150 0 70 10 [0 0 0] 35 20 coil-drops
- 250 0 [ 120 80 ] 20 -100 20 stir
- }
- ]
+\psMarble[
+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]
+},
+viscosity=1000,
+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
+0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
+0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
+0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
+0 0 150 0 70 10 [105 160 99] 35 20 coil-drops
+250 0 [ 120 80 ] 20 100 20 stir
+}
+]
+\psMarble[
+colors={
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+},
+viscosity=1000,drawcontours,linewidth=0.2,linecolor=black,bckg=false,
+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
+0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
+0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
+0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
+0 0 150 0 70 10 [0 0 0] 35 20 coil-drops
+250 0 [ 120 80 ] 20 100 20 stir
+}
+]
\end{pspicture}
\end{minipage}
\begin{minipage}[t]{8cm}
{\tiny\begin{verbatim}
\begin{pspicture}(-5,-5)(5,5)
- \psMarble[
- 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]
- },
- viscosity=1000,
- 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
- 0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
- 0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
- 0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
- 0 0 150 0 70 10 [105 160 99] 35 20 coil-drops
- 250 0 [ 120 80 ] 20 -100 20 stir
- }
- ]
- \psMarble[
- colors={
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- [0 0 0]
- },
- viscosity=1000,drawcontours,linewidth=0.2,linecolor=black,bckg=false,
- 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
- 0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
- 0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
- 0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
- 0 0 150 0 70 10 [0 0 0] 35 20 coil-drops
- 250 0 [ 120 80 ] 20 -100 20 stir
- }
- ]
+\psMarble[
+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]
+},
+viscosity=1000,
+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
+0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
+0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
+0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
+0 0 150 0 70 10 [105 160 99] 35 20 coil-drops
+250 0 [ 120 80 ] 20 100 20 stir
+}
+]
+\psMarble[
+colors={
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+[0 0 0]
+},
+viscosity=1000,drawcontours,linewidth=0.2,linecolor=black,bckg=false,
+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
+0 -500 850 -30 212 -5 colors 1 get 5 50 coil-drops
+0 -500 840 -30 215 5 colors 0 get 5 50 coil-drops
+0 -500 850 -30 220 0 colors 4 get 5 50 coil-drops
+0 0 150 0 70 10 [0 0 0] 35 20 coil-drops
+250 0 [ 120 80 ] 20 100 20 stir
+}
+]
\end{pspicture}
\end{verbatim}}
\end{minipage}
@@ -2619,22 +2741,22 @@ actions={
0 0 150 [ .9 .9 .8 ] drop
0 0 500 colors 2 get drop
0 0 283 0 1 colors 1 get 30 30 Gaussian-drops
- 0 0 50e3 100 vortex
+ 0 0 -50e3 100 vortex
%% tulip
0 -250 55 colors 0 get drop
0 -200 35 colors 2 get drop
0 -150 55 colors 0 get drop
0 -100 35 colors 2 get drop
0 -50 55 colors 0 get drop
- 0 75 0 -450 20 30 stroke
+ 0 75 0 -450 20 30 stylus
%% wreath
0 10 390 90 95 0 colors 1 get 14 25 coil-drops
0 0 400 90 100 0 colors 0 get 14 40 coil-drops
- 0 0 [ 400 ] 1 20 31 stir
+ 0 0 [ -400 ] 1 20 31 stir
%% short vine
-100 250 75 [ 6 80 0 tines ] colors 1 get 20 line-drops
-100 250 75 [ 6 80 0 tines ] colors 0 get 30 line-drops
- -300 200 300 350 20 30 stroke
+ -300 200 300 350 20 30 stylus
}
](12,12)
\end{pspicture}
@@ -2658,22 +2780,22 @@ actions={
0 0 150 [ .9 .9 .8 ] drop
0 0 500 colors 2 get drop
0 0 283 0 1 colors 1 get 30 30 Gaussian-drops
- 0 0 50e3 100 vortex
+ 0 0 -50e3 100 vortex
%% tulip
0 -250 55 colors 0 get drop
0 -200 35 colors 2 get drop
0 -150 55 colors 0 get drop
0 -100 35 colors 2 get drop
0 -50 55 colors 0 get drop
- 0 75 0 -450 20 30 stroke
+ 0 75 0 -450 20 30 stylus
%% wreath
0 10 390 90 95 0 colors 1 get 14 25 coil-drops
0 0 400 90 100 0 colors 0 get 14 40 coil-drops
- 0 0 [ 400 ] 1 20 31 stir
+ 0 0 [ -400 ] 1 20 31 stir
%% short vine
-100 250 75 [ 6 80 0 tines ] colors 1 get 20 line-drops
-100 250 75 [ 6 80 0 tines ] colors 0 get 30 line-drops
- -300 200 300 350 20 30 stroke
+ -300 200 300 350 20 30 stylus
}
](12,12)
\end{pspicture}
@@ -2687,7 +2809,7 @@ actions={
\begin{center}
\begin{pspicture}(-6,-6)(6,6)
- \psMarble[background={[1 1 1]},
+ \psMarble[
colors={
[0.275 0.569 0.796][0.965 0.882 0.302]
[0.176 0.353 0.129][0.635 0.008 0.094]
@@ -2697,17 +2819,17 @@ actions={
},
actions={
0 0 48 colors 25 concentric-rings
- 90 [2 600 -150 tines] 100 750 31 rake
- -90 [2 600 -150 tines] 100 750 31 rake
- 0 230 shift
+ 90 [-150 450] 100 750 31 rake
+ -90 [-150 450] 100 750 31 rake
180 [ 25 50 0 tines ] 30 200 31 rake
+ 0 230 shift
}
](12,12)
\end{pspicture}
\end{center}
{\small\begin{verbatim}
\begin{pspicture}(-6,-6)(6,6)
- \psMarble[background={[1 1 1]},
+ \psMarble[
colors={
[0.275 0.569 0.796][0.965 0.882 0.302]
[0.176 0.353 0.129][0.635 0.008 0.094]
@@ -2717,10 +2839,10 @@ actions={
},
actions={
0 0 48 colors 25 concentric-rings
- 90 [2 600 -150 tines] 100 750 31 rake
- -90 [2 600 -150 tines] 100 750 31 rake
- 0 230 shift
+ 90 [-150 450] 100 750 31 rake
+ -90 [-150 450] 100 750 31 rake
180 [ 25 50 0 tines ] 30 200 31 rake
+ 0 230 shift
}
](12,12)
\end{pspicture}
@@ -2768,7 +2890,7 @@ actions={
actions={
0 0 1100 1100 0 [ 222 186 149 ] 85 1.72 10 mul uniform-drops
0 0 1100 1100 0 colors 250 1.72 16 mul uniform-drops
- 0 0 1100 1100 0 [ 222 186 149 ] 100 1.72 7 mul uniform-drops
+ 0 0 1100 1100 0 [ 222 186 149 ] 100 1.72 7 mul uniform-drops
0 0 [ -100 ] 40 300 31 stir
0 0 [ -200 -275 ] 20 120 10 stir
0 0 [ -325 ] 20 90 31 stir
@@ -2783,33 +2905,50 @@ actions={
\textbf{Example 13: Blendmodes}
-In case one want to overlap various marblings one can use the following blendmodes:
+In case one want to overlap various marblings one can use the following blendmodes (basic option in PSTricks):
+
+\texttt{/Normal: blendmode=0},
+\texttt{/Compatible: blendmode=1},
+\texttt{/Screen: blendmode=2},
+\texttt{/Multiply: blendmode=3},
-\texttt{/Lighten}, \texttt{/Darken}, \texttt{/Normal}, \texttt{/Multiply}, \texttt{/Screen}, \texttt{/Overlay}, \texttt{/ColorDodge}, \texttt{/ColorBurn}, \texttt{/HardLight}, \texttt{/SoftLight}, \texttt{/Difference}, \texttt{/Exclusion}, \texttt{/Saturation}, \texttt{/Color}, \texttt{/Luminosity}.
+\texttt{/HardLight: blendmode=4},
+\texttt{/Darken: blendmode=5},
+\texttt{/Lighten: blendmode=6},
+\texttt{/Difference: blendmode=7},
-The blendmode is setup right after \texttt{actions=\{} like: \texttt{/Darken .setblendmode} or some other of the blendmodes.
+\texttt{/ColorDodge: blendmode=8},
+\texttt{/ColorBurn: blendmode=9},
+\texttt{/SoftLight: blendmode=10},
+\texttt{/Hue: blendmode=11},
-For Distiller users we set the equivalent: \texttt{[ /BM /Darken /ca 1 /CA 1 /SetTransparency pdfmark}
+\texttt{/Saturation: blendmode=12},
+\texttt{/Luminosity: blendmode=13},
+\texttt{/Overlay: blendmode=14},
+
+\texttt{/Exclusion: blendmode=15},
+\texttt{/Color: blendmode=16}.
+
+Just set
+\begin{verbatim}
+\psMarble[blendmode=5,shapealpha=1, ...]
+\end{verbatim}
\medskip
\begin{center}
\begin{pspicture}(-4,-4)(4,4)
-\psMarble[viscosity=1000,
+\psMarble[blendmode=5,shapealpha=1,viscosity=1000,
actions={
-%/Darken .setblendmode % ps2pdf
-[ /BM /Darken /ca 1 /CA 1 /SetTransparency pdfmark % Distiller
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,
+\psMarble[blendmode=5,shapealpha=1,viscosity=1000,bckg=false,
actions={
-%/Darken .setblendmode % ps2pdf
-[ /BM /Darken /ca 1 /CA 1 /SetTransparency pdfmark % Distiller
-300 92 500
{
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
+ 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
@@ -2820,21 +2959,17 @@ actions={
\end{center}
{\small\begin{verbatim}
\begin{pspicture}(-4,-4)(4,4)
-\psMarble[viscosity=1000,
+\psMarble[blendmode=5,shapealpha=1,viscosity=1000,
actions={
-%/Darken .setblendmode % ps2pdf
-[ /BM /Darken /ca 1 /CA 1 /SetTransparency pdfmark % Distiller
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,
+\psMarble[blendmode=5,shapealpha=1,viscosity=1000,bckg=false,
actions={
-%/Darken .setblendmode % ps2pdf
-[ /BM /Darken /ca 1 /CA 1 /SetTransparency pdfmark % Distiller
-300 92 500
{
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
+ 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
@@ -2850,31 +2985,32 @@ actions={
\textbf{Example 14: Transparency}
-In case one want to overlap various marblings one can also use transparency:
+In case one want to overlap various marblings one can also use transparency, which is a basic option in PSTricks \texttt{opacity=}. Just set
+\begin{verbatim}
+\psMarble[opacity=0.45, ...]
+\end{verbatim}
+The values need to be from 0 to 1.
-The transparency is setup right after \texttt{actions=\{} like: \texttt{0.45 .setopacityalpha} or some other value between 0 and 1.
-For Distiller users we set the equivalent: \texttt{[ /ca 0.45 /CA 0.45 /SetTransparency pdfmark}
+%The transparency is setup right after \texttt{actions=\{} like: \texttt{0.45 .setopacityalpha} or some other value between 0 and 1.
+%
+%For Distiller users we set the equivalent: \texttt{[ /ca 0.45 /CA 0.45 /SetTransparency pdfmark}
\medskip
\begin{center}
\begin{pspicture}(-4,-4)(4,4)
-\psMarble[viscosity=1000,
+\psMarble[opacity=0.35,viscosity=1000,
actions={
-%0.45 .setopacityalpha % ps2pdf
-[ /ca 0.35 /CA 0.35 /SetTransparency pdfmark % Distiller
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,
+\psMarble[opacity=0.35,viscosity=1000,bckg=false,
actions={
-%0.45 .setopacityalpha % ps2pdf
-[ /ca 0.35 /CA 0.35 /SetTransparency pdfmark % Distiller
-300 92 500
{
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
+ 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
@@ -2885,21 +3021,17 @@ actions={
\end{center}
{\small\begin{verbatim}
\begin{pspicture}(-4,-4)(4,4)
-\psMarble[viscosity=1000,
+\psMarble[opacity=0.35,viscosity=1000,
actions={
-%0.45 .setopacityalpha % ps2pdf
-[ /ca 0.35 /CA 0.35 /SetTransparency pdfmark % Distiller
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,
+\psMarble[opacity=0.35,viscosity=1000,bckg=false,
actions={
-%0.45 .setopacityalpha % ps2pdf
-[ /ca 0.35 /CA 0.35 /SetTransparency pdfmark % Distiller
-300 92 500
{
- 0 exch 90 [ 12 100 -100 tines ] [ 76 95 63 ] 45 line-drops
+ 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
@@ -2913,12 +3045,15 @@ actions={
\newpage
-\section{Acknowledgements}
+\section{Acknowledgments}
Many thanks to D. P. Story who coded some additions to the \texttt{pst-marble.pro} file so it might be used for Adobe Distiller users.
The file size for the documentation could so be reduced tremendously.
+\bigskip
+
+Also many thanks to A. Grahn who sent a patch to use transparency and blendmode effects with the usual PSTricks options.
\newpage