-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (48 loc) · 1.34 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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>mak-dao-prints</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #333;
}
main, #svg_container {
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 100vh;
padding: 2.5vh;
position: absolute;
}
.p5Canvas {
/* outline: 1px solid #666; */
/* outline-offset: -1px; */
background-color: #444;
/* box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5); */
width: auto !important;
height: 100% !important;
transform: translate3d(0,0,0);
}
#svg_container svg {
width: auto;
height: 100%;
background-color: #fff;
}
</style>
</head>
<body>
<main></main>
<div id="svg_container"></div>
<script src="./node_modules/p5/lib/p5.min.js"></script>
<script src="./node_modules/paper/dist/paper-core.min.js"></script>
<script id="sketch" type="module" src="./app/sketch.js"></script>
</body>
</html>