realbasic-games
[Top] [All Lists]

[Ann] Mersenne twister in REALbasic

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>, REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: [Ann] Mersenne twister in REALbasic
From: Aaron Ballman <aaron at realsoftware dot com>
Date: Thu, 12 Jan 2006 19:07:32 -0600
Cc:
Delivered-to: realbasic-games at lists dot realsoftware dot com
A great feature of REALbasic 2006r1 was the introduction of a many new integer data types. You can now use signed and unsigned integers of varying degrees of precision. This opens up a new realm of algorithms that can be implemented easily in REALbasic.

The Mersenne twister algorithm is commonly used as a fast pseudo-random number generator for things like simulations and games.

I've ported this algorithm into REALbasic, and am making the code available for everyone to use, free of charge.

You can find the project at: <http://www.aaronballman.com/programming/REALbasic/Rand.php>

Enjoy!

~Aaron
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>
  • [Ann] Mersenne twister in REALbasic, Aaron Ballman <=