-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathindex.html
38 lines (30 loc) · 1.33 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Instructs the mobile browser to scale the web page to take
as up much of the screen as possible -->
<!-- Thanks to: https://creative-coding.decontextualize.com/mobile/ -->
<meta name="viewport" content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width">
<title>p5.js boilerplate</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<!-- CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tufte-css/1.7.2/tufte.min.css" integrity="sha512-cG7Z4degp9718dDjGjeJmar0+g7RtE/olDe0VRKEFDtOEkm91JSvE7ZxN2+sijkU0AAK3e2xzu7bafBGC/uiqA==" crossorigin="anonymous" />
<!-- https://edwardtufte.github.io/tufte-css/ -->
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<article>
<section>
<h1><code><a href="https://p5js.org/">p5.js</a></code> Boilerplate</h1>
<figure id="sketchContainer">
<code><span id="fps" class="marginnote">FPS counter</span></code>
<script src="sketch.js"></script>
</figure>
</section>
</article>
</body>
</html>