-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (53 loc) · 1.9 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
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<title>p5.js ascii renderer</title>
<style>
/* Apply properties to body and canvas to prevent scrollbars and achieve full screen */
body {
margin: 0;
padding: 0;
}
canvas {
display: block;
}
/* Tweakpane window */
.tp-dfwv {
width: 310px !important;
}
/* Hide the p5.Capture container */
.p5c-container {
display: none !important;
}
/* Fix for misaligned rows in Tweakpane table view */
.tp-tablev .tp-rotv_c>* {
margin-top: 2px !important;
}
</style>
<!-- Import libraries -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/tweakpane.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tweakpane/[email protected]/dist/tweakpane-plugin-essentials.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/tweakpane-table.min.js"></script>
<script src="libraries/tweakpane-plugin-infodump-0.3.0.min.js"></script>
<script src="libraries/tweakpane-plugin-file-import.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/p5.capture.umd.min.js"></script>
<!-- Import utility classes -->
<script src="utilities/colortranslator.js"></script>
<!-- Import grid class -->
<script src="grid2d.js"></script>
<!-- Import character set class -->
<script src="characterset.js"></script>
<!-- Import overlay classes -->
<script src="ui/overlay.js"></script>
<script src="ui/eventemitter.js"></script>
<script src="/ui/views/generalview.js"></script>
<script src="/ui/views/asciiview.js"></script>
<script src="/ui/controllers/generalcontroller.js"></script>
<script src="/ui/controllers/asciicontroller.js"></script>
</head>
<body>
<script src="sketch.js"></script>
</body>
</html>