lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Sep 19, 2008 at 03:09:49PM +0200, Dirk Feytons wrote:
> On Fri, Sep 19, 2008 at 12:58 PM, G? Weijers <ge@weijers.org> wrote:
> [...]
> > My favorite is the 'Well' generator
> > http://www.iro.umontreal.ca/~panneton/WELLRNG.html
> 
> Bob Jenkins' ISAAC (http://burtleburtle.net/bob/rand/isaacafa.html)
> appears to be quite good, assuming of course it is seeded properly.
> It's also in the public domain.

Another popular one is the Mersenne Twister, which I've seen credited
many times in console games.  The stock implementation used to be GPL
but is now BSD, and there are several Lua implementations/hooks
including "Numeric Lua" over at LuaForge and "lrandom" from lhf (who
has already replied in this thread :-)

http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html
http://en.wikipedia.org/wiki/Mersenne_Twister

                                                  -Dave Dodge