|
![](/i/fill.gif) |
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
--
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Post a reply to this message
|
![](/i/fill.gif) |