-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjavascript.html
84 lines (81 loc) · 1.46 KB
/
javascript.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link
href="https://fonts.googleapis.com/css2?family=Poppins&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="./style.css"
/>
<title>Mersenne Visualizer</title>
</head>
<body>
<header>
<h1>Mersenne Twister Visualizer</h1>
</header>
<nav>
<ul class="nav-list">
<li>
<a
class="nav-links"
href="./index.html"
>Home</a
>
</li>
<li>
<a
class="nav-links"
href="./Random Colors.html"
>Random Colors</a
>
</li>
<li>
<a
class="nav-links"
href="./blackAndWhite.html"
>Heat Map</a
>
</li>
<li>
<a
class="nav-links"
href="./javascript.html"
><u>JavaScript Code</u></a
>
</li>
</ul>
</nav>
<div class="center">
<p>
Here is the js implementation of the Mersenne Twister. The code
is based on the pseduo-code of the algorithm on wikipedia
</p>
<p>
Check out the paper that originally detailed the Mersenne
Twister:
<a
href="http://www.math.sci.hiroshima-u.ac.jp/m-mat/MT/ARTICLES/mt.pdf"
>Link</a
>
</p>
</div>
<img
src="MTjs.png"
width="342"
height="635"
alt="Mersenne Twister Python Code"
class="python-img"
/>
<script
type="module"
src="canvas.js"
></script>
</body>
</html>