-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (39 loc) · 1.14 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
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<!-- Running an older version of P5 that is compatible with svg library -->
<script src="../libraries/p5-v4.js"></script>
<script src="../libraries/p5.dom-v02.js"></script>
<script src="../libraries/p5.svg.js"></script>
<script src="../libraries/quicksettings.min.js"></script>
<script src="sketch.js"></script>
<meta charset="utf-8" />
<style>
html, body {
height: 100%;
background-color: rgb(240, 240, 240);
}
body {
margin: 0;
display: flex;
/* This makes the text go on top and bottom */
flex-direction: column;
/* This centers our sketch horizontally. */
justify-content: center;
/* This centers our sketch vertically. */
align-items: center;
}
a {
color: #de1b1b;
text-decoration: none;
}
a:hover, a:focus {
color:#00;
font-weight: bold;
}
</style>
<meta charset="utf-8">
</head>
<body>
</body>
</html>