-
Notifications
You must be signed in to change notification settings - Fork 0
/
proj11.html
executable file
·60 lines (51 loc) · 1.56 KB
/
proj11.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
<html>
<head>
<meta charset="UTF-8">
<script language="javascript" type="text/javascript" src="p5/p5.min.js"></script>
<!-- uncomment lines below to include extra p5 libraries -->
<script language="javascript" src="p5/p5.dom.min.js"></script>
<script language="javascript" src="p5/p5.sound.min.js"></script>
<!-- <script language="javascript" src="p5/p5.collide2d.min.js"></script>
<script language="javascript" src="p5/p5.collide2d.js"></script> -->
<script language="javascript" src="p5/p5.play.js"></script>
<script language="javascript" src="p5/scenemanager.js"></script>
<script language="javascript" type="text/javascript" src="sketch.js"></script>
<script language="javascript" type="text/javascript" src="scenes.js"></script>
<!-- this line removes any default padding and style. you might only need one of these values set. -->
</head>
<style>
h1{
font-size: 4em;
text-align: center;
margin-bottom: 0px;
}
body{
height: 100vh;
margin: 0;
/* display: flex; */
/* This centers our sketch horizontally. */
justify-content: center;
/* This centers our sketch vertically. */
align-items: center;
}
#state-select{
position: absolute;
top: 80px;
left: 43vw;
}
#bottom {
height: 200px;
width: 100vw;
text-align: center;
position: absolute;
bottom: 0px;
}
</style>
<body>
<h1 id = "top"></h1>
<br />
<!-- <p> (Artist Statement) </p> -->
<p id = "bottom">
</p>
</body>
</html>