generated from drawwithcode/P5-empty-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (68 loc) · 2.25 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
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<!--meta tags-->
<title>Generative Artwork</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Creative coding sketch by Andrea Benedetto"
/>
<meta property="og:title" content="Generative Artwork" />
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://drawwithcode.github.io/2021-01-benedettoandrea/"
/>
<meta
property="og:image"
content="https://drawwithcode.github.io/2021-01-benedettoandrea/cover.png"
/>
<meta
property="og:description"
content="Creative coding sketch by Andrea Benedetto"
/>
<meta name="twitter:card" content="summary_large_image" />
<link rel="icon" href="assets/images/logo/favicon.png" />
<!--CSS-->
<link rel="stylesheet" type="text/css" href="normalize.css" />
<link rel="stylesheet" type="text/css" href="style.css" />
<!--p5 libraries-->
<script src="libraries/p5.min.js"></script>
<script src="libraries/p5.sound.min.js"></script>
<!--p5 script-->
<script src="sketch.js"></script>
</head>
<body>
<div id="p5_loading" class="loadingclass"></div>
<div id="container">
<div class="header">
<button id="switchType" class="item" onclick="switchType()">
<span>switch type</span>
</button>
<button id="switchColour" class="item" onclick="switchColour()">
<span>switch colour</span>
</button>
<button id="regenerateShapes" class="item" onclick="regenerateShapes()">
<span>regenerate</span>
</button>
<button id="clearBackground" class="item" onclick="clearBackground()">
<span>clear background</span>
</button>
</div>
<div class="footer">
<button id="startStop" class="item" onclick="startStop()">
<span>start/stop</span>
</button>
<button id="saveScreenshot" class="item" onclick="saveScreenshot()">
<span>save a screenshot</span>
</button>
</div>
</div>
</body>
</html>