[fluxus] randomness
Dave Griffiths
dave at pawfal.org
Wed Jan 4 09:22:43 PST 2006
hi all,
took me a while to find (they are not part of R5RS) but there are some
standard functions in guile that look really handy for fluxus:
seed->random-state
random:normal
random:normal-vector!
random:hollow-sphere!
random:solid-sphere!
the last two are really useful for initialising particle velocities etc.
and (random:normal) does the same as (flxrnd) but allows you to provide a
random state for seeding the random generator
http://www.gnu.org/software/guile/docs/guile-ref/Random.html#Random
cheers,
dave
More information about the Fluxus
mailing list