From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5572 Path: main.gmane.org!not-for-mail From: "Frans Goddijn" Newsgroups: gmane.comp.tex.context Subject: Re: Random repeat? Date: Mon, 10 Sep 2001 10:47:58 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <002301c139d7$8919b600$6501a8c0@lap> References: <5.1.0.14.0.20010910093259.00aa5240@public.uni-hamburg.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396155 2780 80.91.224.250 (23 Oct 2002 18:02:35 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:35 +0000 (UTC) Original-To: "NTG-ConTeXt mailing list" Xref: main.gmane.org gmane.comp.tex.context:5572 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5572 Thanks Eckhart! But where in the graphics should I put the "randomseed" info? the following won't work, halting the compile operation at the mention of randomseed: \startreusableMPgraphic{omcirkeld} draw fulldiamond xyscaled (OverlayWidth,OverlayHeight) randomseed:=2022 randomized (30*OverlayLineWidth) withpen pencircle scaled OverlayLineWidth withcolor OverlayLineColor ; path b ; b := boundingbox currentpicture ; setbounds currentpicture to b enlarged 10pt ; \stopreusableMPgraphic ----- Original Message ----- From: Eckhart Guthöhrlein > Have a look in your xxx-mpgraph.log after the > run with the nice result, there you will find > a line > > {randomseed:=...} > > assigning some value initializing mp's randomizer. > Note this value, e.g. 292, and then say > > randomseed:=292 > > in your graphics, and the results will always be > identically random :-)