-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
92 lines (81 loc) · 2.86 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html class="no-js" lang="en-GB">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Animated Big Data Visualization — Vertically Centered Layout</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="reset.css" rel="stylesheet" type="text/css">
<link href="style.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
</head>
<body>
<main></main>
<div class="scroll">
<a href="#" class="js-scroll-btn">
Scroll down<br>
<i class="fa fa-angle-down"></i>
</a>
<form class="controls">
<label>
<strong data-alt-text="Playing" class="js-play-label">Paused</strong>
<input class="js-play" type="button" value="►" data-alt-symbol="❚❚">
</label>
<label>
<strong>Velocity</strong>
<span class="block">
<span class="js-velocity-label">2500</span>ms
</span>
<input class="js-velocity" type="range" min="1000" max="10000" step="500" value="2500">
</label>
<label>
<strong>Threshold</strong>
<span class="block">
<span class="js-threshold-label">5.00</span>%
</span>
<input class="js-threshold" type="number" step="0.01" value="5.00">
</label>
<label>
<output>
<progress value="0" max="100" class="step-progress"></progress>
<span class="label">Step <span class="current-step">1</span><span class="max-steps"></span></span>
</output>
</label>
</form>
</div>
<aside>
<h1>Proof Of Concept</h1>
<h2>Animated Visualization of Frequent Itemsets as Hypergraphs</h2>
<p>
This Proof Of Concept is a consolidation of the results of the previous <a href="../experiments">experiments</a>.
The layout algorithm is based on the <a href="../experiments/vertically-centered">Vertically Centered Layout</a> experiment
and the animation algorithm on the <a href="../experiments/animated-force-layout">Animated Force Layout</a>.
</p>
<p>
The library <a href="http://d3js.org/" target="_blank">D3</a> was dropped in favour of a Custom Layout Algorithm
and the SVG Library <a href="http://snapsvg.io/" target="_blank">Snap.svg</a>.
</p>
</aside>
<footer>
<p>
© 2015 Robert Vogt and Peter Frick
</p>
</footer>
<script src="vendor/snap.svg-0.4.1.min.js"></script>
<script src="src/Controls.js"></script>
<script src="src/LayoutEngine.js"></script>
<script src="src/Visualization.js"></script>
<script src="src/Hypergraph.js"></script>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
var graph = Hypergraph;
Controls.start(graph);
graph.start('main');
});
document.querySelector('.js-scroll-btn').addEventListener('click', function(e) {
e.preventDefault();
document.querySelector('aside').scrollIntoView({ block: 'start', behavior: 'smooth' });
});
</script>
</body>
</html>