From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5581 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Random repeat? Date: Mon, 10 Sep 2001 13:15:40 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010910131449.025aa028@server-1> 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"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396163 2835 80.91.224.250 (23 Oct 2002 18:02:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:02:43 +0000 (UTC) Cc: "Frans Goddijn" , "NTG-ConTeXt mailing list" Original-To: e_w_g@t-online.de (Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= ) In-Reply-To: <5.1.0.14.0.20010910093259.00aa5240@public.uni-hamburg.de> Xref: main.gmane.org gmane.comp.tex.context:5581 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5581 At 09:33 AM 9/10/2001 +0200, Eckhart Guthöhrlein wrote: >At 20:54 09.09.2001 +0200, Frans Goddijn wrote: >>Every once in a while a randomly created logo wrap comes out exceptionally >>nice. Is there a way that I could reproduce that later on? In the log file >>of the present one which looks like a funny poke at a heraldic design I >>read: >> >>Randomizer initialized to 1458579309. >> >>Can I feed that same number back in some way to get the same result again if >>I ever want to? Of course it's typical for me to be really happy with a >>truly random result and then wishing I could control that ;=}} > >As far as I know, this value is only used for the random number generator >in TeX. 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 :-) it is also possible to say \setupsystem[random=292] Hans PS. Randomseed is a strange one, you can set it but not ask for it in mp ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------