-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (51 loc) · 2.43 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Robin Kroonen's personal website featuring Conway's Game of Life">
<title>Robin Kroonen | Home</title>
<link href="https://fonts.googleapis.com/css2?family=Space+Mono&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<div class="menu">
<button class="menu-toggle">Menu</button>
<div class="menu-items">
<a href="index.html">Home</a>
<a href="blog.html">Blog</a>
<a href="gallery.html">Gallery</a>
<a href="https://github.com/kroonen" target="_blank">GitHub</a>
<a href="https://huggingface.co/kroonen" target="_blank">Hugging Face</a>
</div>
</div>
<div class="container">
<h1>Robin Kroonen</h1>
<div id="introduction">
<p>Welcome to my interactive personal webpage! You're looking at Conway's Game of Life, a fascinating cellular automaton that demonstrates how complex patterns can emerge from simple rules.</p>
<p>Click on the grid to toggle cells on/off, adjust the speed with the slider, and use the buttons to control the simulation. Enjoy exploring this mathematical universe!</p>
</div>
<canvas id="universeCanvas" aria-label="Conway's Game of Life Simulation"></canvas>
<div class="controls">
<button id="startBtn" aria-label="Start Simulation">Start</button>
<button id="pauseBtn" aria-label="Pause Simulation">Pause</button>
<button id="resetBtn" aria-label="Reset Simulation">Reset</button>
<input type="range" id="speedSlider" min="1" max="100" value="90" aria-label="Simulation Speed">
<span id="speedValue">Speed: 90%</span>
</div>
<div class="pattern-buttons">
<button id="randomBtn">Random</button>
<button id="gliderBtn">Glider</button>
<button id="blinkerBtn">Blinker</button>
<button id="beaconBtn">Beacon</button>
</div>
<div id="patternName"></div>
<div id="stats"></div>
<div id="copyright"></div>
</div>
<script src="scripts/gameOfLife.js"></script>
<script src="scripts/ui.js"></script>
<script src="scripts/main.js"></script>
<script src="scripts/global-ui.js"></script>
</body>
</html>