generated from drawwithcode/P5-empty-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.html
121 lines (92 loc) · 3.9 KB
/
start.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EMOTION CLOUD</title>
<!--CSS-->
<link rel="stylesheet" type="text/css" href="start.css">
<!--p5 libraries-->
<script src="libraries/p5.min.js"></script>
<script src="libraries/p5.sound.min.js"></script>
<!--ml5 libraries-->
<script src="https://cdn.jsdelivr.net/gh/ml5js/Intro-ML-Arts-IMA@ml5-build-10-7-19/ml5_build/ml5.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/ml5.min.js"></script>
<!---fonts-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Martian+Mono:wght@100;200;300;400;500;600;700;800&family=VT323&display=swap" rel="stylesheet">
<!-----<script
defer
language="javascript"
src="backgroundtest.js"
type="text/javascript"
></script>----->
<script src="./firebase/firebase.js"></script>
</head>
<body>
<div id="phone">
<p id="text-phone">USE YOUR PHONE</p>
<p id="text-phone2">THIS TEST ONLY WORKS ON MOBILE</p>
</div>
<!-----INTRODUCTION----->
<section class="section show" id="intro">
<div class="container show" id="intro-1">
<div class="wrapper">
<p class="intro-text">
Our DATA is often used as a mean to catalog our interests, behaviours and habits,
creating categories of users that are completely randomic.
</p>
</div>
<div class="footer">
<button class="next-button" onclick="nextSection('A')">next</button>
</div>
</div>
<div class="container hide" id="intro-2">
<div class="wrapper">
<p class="intro-text">
It's important to ask ourselves how bias and stereotypes might
influence these algorithms, and how can we aknowledge this
situation.
</p>
</div>
<div class="footer">
<button class="next-button" onclick="nextSection('B')">next</button>
</div>
</div>
<div class="container hide" id="intro-3">
<div class="wrapper">
<p class="intro-text">
Now you are going to face a test: let's see if the computer can guess your
emotion right, and if the way you feel is compatible with the way the system catalogs you.
</p>
</div>
<div class="footer">
<button class="next-button" onclick="nextSection('C')">next</button>
</div>
</div>
<div class="container hide" id="intro-4">
<div class="wrapper">
<p class="intro-text">Click START when you're ready.</p>
</div>
<div class="footer">
<button class="next-button" onclick="nextSection('D')">start</button>
</div>
</div>
</section>
<!-----QUESTIONS----->
<section class="section hide" id="question-container">
<div class="container hide" id="question-1">
<div id="canvas"></div>
<div class="wrapper">
<p class="question-text" id="take-pic">Take a picture of yourself portraying your current mood.</p>
</div>
<div class="footer">
<button class="snapBtn" onclick="takeSnap()">snap</button>
<button class="nextBtn-2" id="next-btn" onclick="nextPressed()">next</button>
</div>
</div>
</section>
<script src="start.js"></script>
</body>
</html>