|
![](/i/fill.gif) |
Tim Nikias wrote:
> What I usually do: seed(frame_number). Note that seed wants an integer, so
> using "clock" as seed will get you the value "0" most of the time, and
> strangely enough, in that pseudo-stream, the first random number always is
> "0".
>
> The second version (seed(x)) will always return the same first random-value,
> so no surprise there that all frames will look the same.
>
> Rand is a pseudo-random stream, so the same seed will *always* yield the
> same stream of random-numbers.
>
> Regards,
> Tim
Using the seed(frame_number) worked perfectly! Thanx Tim (and everyone
else) for your help.
Bryan
Post a reply to this message
|
![](/i/fill.gif) |