-
Notifications
You must be signed in to change notification settings - Fork 0
/
the-report.html
88 lines (75 loc) · 3.33 KB
/
the-report.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=320" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="stylesheet" href="scss/report.scss" />
<link rel="stylesheet" href="css/report.css" />
<link rel="stylesheet" href="scss/home.scss">
<link rel="stylesheet" href="css/home.css">
<title>The Report</title>
<script type="text/javascript" src="https://d3js.org/d3.v2.min.js"></script>
</head>
<body>
<div class="wrapper" id="wrapper">
<div class="top-bar" id="top-bar">
<button class="top-bar__nav-toggle hamburger" id="top-nav-toggle">
<span></span>
<span></span>
<span></span>
</button>
<span> <a href="index.html" class="top-bar__brand">Ishtar</a></span>
<span><a href="learn-more.html" class="top-bar__contact">
learn more</a></span>
<nav class="top-bar__nav collapsed" id="top-bar__nav">
<ul class="top-bar__nav-list ">
<li><a href="learn-more.html">Learn More</a></li>
<li><a href="the-experiment.html">The Experiment</a></li>
<li><a href="how-it-works.html">How It Works</a></li>
</ul>
</nav>
</div>
<div class="title-rep">
<h1 class="t-rep">The report</h1>
<p>Here's the result of your session. If the gauge stops between 0 and 50 it means you've watched more the video appearing on the left side of the screen, the violent ones.<br> Otherwise, if it stops between 50 and 100, it means you've been watching mostly the right part of the screen , meaning that your sight focused more on the erotic content.<br> It could happen that the gauge could stop under 0 or over 100; in that case, just <a href="ishtar.html">go back</a> and repeat the test.</p>
</div>
</div>
<div id="power-gauge"></div>
<script src="js/d3Results.js"></script>
<script>
function onDocumentReady() {
var powerGauge = gauge('#power-gauge', {
size: 600,
clipWidth: 600,
clipHeight: 600,
ringWidth: 60,
maxValue: 100,
transitionMs: 6000,
});
powerGauge.render();
function updateReadings() {
// inserire valori *1000 per +y-x || -x/-y // valori *100 +x+y || -y+x
powerGauge.update(Math.random() * 1180);
}
// every few seconds update reading values
updateReadings();
//setInterval(function() {
//updateReadings();
//}, 5 * 1000);
}
if (!window.isLoaded) {
window.addEventListener("load", function() {
onDocumentReady();
}, false);
} else {
onDocumentReady();
}
</script>
</body>
</html>