-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
56 lines (51 loc) · 1.92 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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<title>Tree Visualisation with p5.js</title>
<script src="p5.min.js"></script>
<style type="text/css">
body {padding: 0; margin: 0;}
#container {
max-width: 1200px;
margin: auto;
padding-left: 1em;
padding-right: 1em;
}
#container div * {
margin-top: 1em;
}
.centered {
text-align: center;
}
@media screen and (min-width: 1200px) {
#container {
font-size: 1.3em;
}
}
</style>
<script language="javascript" type="text/javascript" src="addons/p5.dom.min.js"></script>
<script language="javascript" type="text/javascript" src="addons/p5.treevis.js"></script>
<script language="javascript" type="text/javascript" src="sketch_testbed.js"></script>
</head>
<body oncontextmenu="return false;">
<div id="container" class="container">
<h1 class="centered">Tree Visualisation with p5.js</h1>
<div>
<p>
Testbed of the treevis addon for <a href="https://p5js.org/" target="_blank" title="p5.js library">p5.js</a> drawing library. It demonstrates the usage of sunburst and treemap visualisations.
To interact with the visualisations simply click on them to choose a deeper level of the tree. Go back by right-click or pressing the button (all up).
</p>
<p>
<a href="https://github.com/oth-aw/treevis"><span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>Go back to Github repository</a>
</p>
</div>
<div class="centered">
<button id="allup" class="btn btn-primary">all up</button>
<div id="info" class="panel panel-default">Nothing selected</div>
</div>
</div>
</body>
</html>