[NTG-context] randomize a color

Johan Sandblom jsandblom at gmail.com
Mon Mar 6 17:16:08 CET 2006


Well, being stupid isn't much fun, you know. One of the few
consolations is bothering knowledgable people with questions that you
are unable to figure out the (albeit obvious) answer to ...

Thank you, Johan

2006/3/6, Taco Hoekwater <taco at elvenkind.com>:
>
>
> Johan Sandblom wrote:
> > The following produces one red square and two black ones, as opposed
> > to one red and two randomly perturbed but also red ones I was hoping
> > for. To my poor understanding this usage seems to comply with that
> > defined in mp-tool.mp. What am I doing wrong.
>
> hint: your redpart gets a random value between 0 and 0.0425
>
> Cheers, taco
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell


More information about the ntg-context mailing list