ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: e_w_g@t-online.de (Eckhart Guthöhrlein)
Subject: Re: Random repeat?
Date: Mon, 10 Sep 2001 09:33:34 +0200	[thread overview]
Message-ID: <5.1.0.14.0.20010910093259.00aa5240@public.uni-hamburg.de> (raw)

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

Eckhart


             reply	other threads:[~2001-09-10  7:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-10  7:33 Eckhart Guthöhrlein [this message]
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
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.0.20010910093259.00aa5240@public.uni-hamburg.de \
    --to=e_w_g@t-online.de \
    /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).