ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "Frans Goddijn" <frans@goddijn.com>,
	"NTG-ConTeXt mailing list" <ntg-context@ntg.nl>
Subject: Re: Random repeat?
Date: Mon, 10 Sep 2001 13:15:40 +0200	[thread overview]
Message-ID: <5.1.0.14.1.20010910131449.025aa028@server-1> (raw)
In-Reply-To: <5.1.0.14.0.20010910093259.00aa5240@public.uni-hamburg.de>

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
-------------------------------------------------------------------------


  parent reply	other threads:[~2001-09-10 11:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10  7:33 Eckhart Guthöhrlein
2001-09-10  8:47 ` Frans Goddijn
2001-09-10 10:37   ` Eckhart Guthöhrlein
2001-09-10 11:51     ` Frans Goddijn
2001-09-10 11:14   ` Hans Hagen
2001-09-10 11:15 ` Hans Hagen [this message]
2001-09-10 12:06   ` Frans Goddijn
  -- strict thread matches above, loose matches on Subject: below --
2001-09-09 18:54 Frans Goddijn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20010910131449.025aa028@server-1 \
    --to=pragma@wxs.nl \
    --cc=frans@goddijn.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).