-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·56 lines (40 loc) · 1.76 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Particle Type</title>
<script src="libraries/p5.js" type="text/javascript"></script>
<script src="libraries/p5.dom.js" type="text/javascript"></script>
<script src="libraries/p5.sound.js" type="text/javascript"></script>
<script src="sketch.js" type="text/javascript"></script>
<link href="css/apstyle.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro' rel='stylesheet' type='text/css'>
<style>
body {
padding: 0;
margin: 0;
}
canvas {
vertical-align: top;
z-index:-1;
}
</style>
</head>
<body>
<div style="float:left; padding-left: 2em; padding-top: 2em;vertical-align:bottom;">
<h1>Particle Type</h1>
</div>
<div style="float:right; padding-right:3em; padding-top: 2em;vertical-align:bottom;">
<a href="http://www.alexanderparlato.com/about/"><h2>contact</h2></a>
</div>
<script type="text/javascript">
function toggle(obj) {
var obj=document.getElementById(obj);
if (obj.style.display == "block") obj.style.display = "none";
else obj.style.display = "block";
}
</script>
<div style="float:right; padding-right:2em; padding-top: 2em;vertical-align:bottom;"><h2><a href="javascript: void(0);" onClick="toggle('q1')">about</a></h2></div>
<div id="q1" style="display: none; position:fixed; top:50%;left:50%;margin-right-50%;transform: translate(-50%, -50%);width:15em;text-align:center;z-index:1;"><p>Particle type is a generative typography project created by Alexander Parlato. Particles re-form to create the letters that are typed (or switches letter on touch for mobile). Constructed originally in Processing and converted into P5.js.</p></div>
</body>
</html>