-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (49 loc) · 1.45 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-7CHREE5FTX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-7CHREE5FTX');
</script>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.2.0/p5.min.js"></script>
<script src="sketch.js"></script>
<style>
#canvas{
border: solid rgb(255, 255, 255);
height: 500px;
width: 500px;
margin: auto;
}
body{
background-color: blueviolet;
}
h1{
text-align: center;
font-weight: 1000;
color: azure;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
span{
color: black;
font-family: 'Courier New', Courier, monospace;
font-weight: 700;
}
</style>
<title>The Game of Life</title>
</head>
<body>
<h1>The Game Of Life</h1>
<div id="data">
<span id="gen-num"></span>
</div>
<br>
<div id="canvas"></div>
</body>
</html>