-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
51 lines (41 loc) · 1.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="Random Mondrian" />
<meta charset="utf-8">
<title>Random Mondrian</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="author" content="Author Name">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="preload" href="css/Bauhaus-Regular.ttf" as="font" crossorigin>
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/utils.js"></script>
<script src="js/main.js"></script>
<script src="js/sketch.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-172160259-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-172160259-1');
</script>
</head>
<body>
<div class="instructions">
<p class="pc">click on the painting to generate a new one</p>
<p class="mobile">tap on the painting to generate a new one</p>
</div>
<div class="container">
<canvas id="sketch" width="900" height="900">
</canvas>
</div>
<div class="credits">
<a href="https://lorenzoros.si/">Lorenzo Rossi</a>
<span id="download">save as image</span>
<a href="https://github.com/lorossi/random-mondrian">GitHub repo</a>
</div>
</body>
</html>