<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Calibri">Dear Joel,</font></p>
<p><font face="Calibri">you could do something like that:</font></p>
<p><font face="Calibri"> 150{rand srand<br>
/n {rrand 360 mod} def<br>
n sin 350 rrand 200 mod sub mul<br>
n cos 350 rrand 200 mod sub mul<br>
rrand 25 mod 5 add<br>
[0.98 0.89 0.56] drop<br>
} repeat</font></p>
<p><font face="Calibri">So you can generate flexible radii and
flexible coordinates.</font></p>
<p><font face="Calibri">Hope this helps.</font></p>
<p><font face="Calibri">Best,</font></p>
<p><font face="Calibri">Jürgen<br>
</font></p>
<div class="moz-cite-prefix">Am 06.02.2019 um 17:38 Uhr schrieb Joel
C. Salomon:<br>
</div>
<blockquote type="cite"
cite="mid:CAFUtaNFnypgT4OdE5quUtZARivPO_sRtP5XiQJTCWJpYcXpoAA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p>The version 1.2 release of pst-marble replaces
random-drops with Gaussian-drops and uniform-drops,
which provide very useful control over where the
drops are placed, but which lose the feature of the
drops having random size.</p>
<p>Would replacing</p>
</div>
</div>
</div>
</div>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p>0 0 1010 1010 0 (4691CB) 100 10 uniform-drops</p>
</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p>with something like</p>
</div>
</div>
</div>
</div>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p>100 { 0 0 1010 1010 0 (4691CB) 1 random:uniform 2
mul 9 add uniform-drops } repeat</p>
</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<p>be the right way to get this back? Or would I be
better off trying to define a variant of
uniform-drops—and how would I do that?</p>
<p>(I’m using 1010 so some drops are centered outside
the image.)</p>
<p>IIRC, random-drops used a Gaussian distribution for
size, but I’m reading <a
href="http://pst-marble.pro"
moz-do-not-send="true">pst-marble.pro</a> and not
understanding PostScript well enough to adopt the
code in random:normal2. Is the old code available
somewhere in a public repository?</p>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<p>—Joel C. Salomon</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
PSTricks mailing list
<a class="moz-txt-link-abbreviated" href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a class="moz-txt-link-freetext" href="http://tug.org/mailman/listinfo/pstricks">http://tug.org/mailman/listinfo/pstricks</a>
archive: <a class="moz-txt-link-freetext" href="http://www.tug.org/pipermail/pstricks/">http://www.tug.org/pipermail/pstricks/</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Jürgen Gilg
Austr. 59
70376 Stuttgart</pre>
</body>
</html>