mersennetwister
Version:
A standalone, pure JavaScript implementation of the Mersenne Twister pseudo random number generator. Compatible with Node.js, requirejs and browser environments.
17 lines • 577 B
HTML
<html>
<head>
<title>MersenneTwister example for requirejs</title>
<script>
// If you're not familiar with requirejs, check out the docs at http://requirejs.org/
requirejs = {
baseUrl: '../../src'
};
</script>
<script src="http://requirejs.org/docs/release/2.1.6/minified/require.js"></script>
</head>
<body>
<p>Check the source code of this page to see how the Mersenne Twister is to be used.</p>
<script src="main.js"></script>
</body>
</html>