-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
302 lines (272 loc) · 14.5 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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
<html lang="en">
<head>
<meta charset="utf-8">
<title>Black Carpet</title>
<link rel="icon" href="favicon.png" type="image" sizes="32x32">
<!-- jQuery-->
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="JS/loadScreen.js"></script>
<!-- Sigma core -->
<script src="src/sigma.core.js"></script>
<script src="src/conrad.js"></script>
<script src="src/utils/sigma.utils.js"></script>
<script src="src/utils/sigma.polyfills.js"></script>
<script src="src/sigma.settings.js"></script>
<script src="src/classes/sigma.classes.dispatcher.js"></script>
<script src="src/classes/sigma.classes.configurable.js"></script>
<script src="src/classes/sigma.classes.graph.js"></script>
<script src="src/classes/sigma.classes.camera.js"></script>
<script src="src/classes/sigma.classes.quad.js"></script>
<script src="src/classes/sigma.classes.edgequad.js"></script>
<script src="src/captors/sigma.captors.mouse.js"></script>
<script src="src/captors/sigma.captors.touch.js"></script>
<script src="src/renderers/sigma.renderers.canvas.js"></script>
<script src="src/renderers/sigma.renderers.webgl.js"></script>
<script src="src/renderers/sigma.renderers.svg.js"></script>
<script src="src/renderers/sigma.renderers.def.js"></script>
<script src="src/renderers/webgl/sigma.webgl.nodes.def.js"></script>
<script src="src/renderers/webgl/sigma.webgl.nodes.fast.js"></script>
<script src="src/renderers/webgl/sigma.webgl.edges.def.js"></script>
<script src="src/renderers/webgl/sigma.webgl.edges.fast.js"></script>
<script src="src/renderers/webgl/sigma.webgl.edges.arrow.js"></script>
<script src="src/renderers/canvas/sigma.canvas.labels.def.js"></script>
<script src="src/renderers/canvas/sigma.canvas.hovers.def.js"></script>
<script src="src/renderers/canvas/sigma.canvas.nodes.def.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edges.def.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edges.curve.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edges.arrow.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edges.curvedArrow.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edgehovers.def.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edgehovers.curve.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edgehovers.arrow.js"></script>
<script src="src/renderers/canvas/sigma.canvas.edgehovers.curvedArrow.js"></script>
<script src="src/renderers/canvas/sigma.canvas.extremities.def.js"></script>
<script src="src/renderers/svg/sigma.svg.utils.js"></script>
<script src="src/renderers/svg/sigma.svg.nodes.def.js"></script>
<script src="src/renderers/svg/sigma.svg.edges.def.js"></script>
<script src="src/renderers/svg/sigma.svg.edges.curve.js"></script>
<script src="src/renderers/svg/sigma.svg.labels.def.js"></script>
<script src="src/renderers/svg/sigma.svg.hovers.def.js"></script>
<script src="src/middlewares/sigma.middlewares.rescale.js"></script>
<script src="src/middlewares/sigma.middlewares.copy.js"></script>
<script src="src/misc/sigma.misc.animation.js"></script>
<script src="src/misc/sigma.misc.bindEvents.js"></script>
<script src="src/misc/sigma.misc.bindDOMEvents.js"></script>
<script src="src/misc/sigma.misc.drawHovers.js"></script>
<!-- Plugins -->
<script src="plugins/sigma.parsers.json/sigma.parsers.json.js"></script>
<!-- Javascript -->
<script src="JS/switchGraphs.js"></script>
<script src="JS/colors_and_stuff.js"></script>
<script src="JS/actor_info.js"></script>
<script src="JS/iniciateSigma.js"></script>
<script src="JS/static_big_data_graph.js"></script>
<script src="JS/static_black_hole_graph.js"></script>
<script src="JS/ui_genre_and_gender_handler.js"></script>
<script src="JS/ui_search_handler.js"></script>
<link rel="stylesheet" href="css/loadfonts.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/actor_style.css">
<link rel="stylesheet" href="css/tab_style.css">
<link rel="stylesheet" href="css/about.css">
</head>
<body>
<!-- .............................................................................. -->
<div style="color: white; cursor: pointer; position:fixed" class="tab_container">
<div class="tab" id="change2BH">Force Atlas 2</div>
<div class="tab" id="change2Dynamic" style="opacity:1;">Interactive</div>
<div class="tab" id="change2BigData">Yifan Hu Proportional </div>
</div>
<!-- .............................................................................. -->
<div id="actor_info" >
<div id="imgbox">
<img id="actorimg" src="" width="100px">
<div id="imgcolor"></div>
</div>
<div id="actor_labels">
<div id="actor_name">Nome do ator</div>
<div class="actor_tiny">Degrees of Connection</div>
<input id="actor_degree" type="range" min="1" max="6" value="1" class="slider">
<span id="degree_val">1</span>
<div class="actor_tiny" style=" margin-top: 1.8rem; margin-bottom: 0.4rem;"><a id="actor_link" href="" target="_blank">Visit TMDB profile</a></div>
<div id="actor_info_cancel">
<svg width="16" height="16" viewBox="0 0 23 23" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 1L1 22" stroke="white" stroke-width="2"/>
<path d="M22 22L1 0.999999" stroke="white" stroke-width="2"/>
</svg>
</div>
</div>
</div>
<!-- - -->
<div id="about_container" >
<div id="closeA">
<svg width="24" height="24" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 1L1 22" stroke="white" stroke-width="2"/>
<path d="M22 22L1 0.999999" stroke="white" stroke-width="2"/>
</svg>
</div>
<div class="about_smallCONT">
<div id="aboutButt"></div>
<div class="aboutTitle">About Black Carpet Project</div>
<div class="aboutline"></div>
<div id="aboutlegendas">
<img id="firstleg" style="position:relative; visibility:visible;" src="images/legenda1.png">
<img src="images/legenda2.png">
<img src="images/legenda3.png">
<img src="images/legenda4.png">
<img src="images/legenda5.png">
<img src="images/legenda6.png">
<img src="images/legenda7.png">
<img src="images/legenda8.png">
<img src="images/legenda9.png">
<img src="images/legenda10.png">
<img src="images/legenda11.png">
<img src="images/legenda12.png">
</div>
<div class="text legenda">
</div>
<div class="text">
This project focus on visualizing famous actors networks based on what movies they collabed on.
With the objective of finding interesting narratives, that may or may not address some social concerns that we hear about in today's news.
The project Black Carpet takes its name from the traditional Red Carpet and a metaphor of a universe of stars.
<br><br>You may also associate it with a dark side of the Hollywood shine, the side that doesn't get to be under the obvious spotlight.
We hope you have fun finding your own discoveries on some visual correlations that this representation may offer.
There's some customizable options that can be combined to show different outputs.
</div>
</div>
</div>
<div class="color_picker" style="margin-bottom: 3rem;">
<div id="closeC">
<svg width="24" height="24" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M22 1L1 22" stroke="white" stroke-width="2"/>
<path d="M22 22L1 0.999999" stroke="white" stroke-width="2"/>
</svg>
</div>
<div class="color_smallCont">
<div class="aboutTitle">Change Colors</div>
<div class="aboutline"></div>
<div class="color_bar" style="margin-top:4rem;">
<span>Actors</span>
<span>Connections</span>
</div>
<div class="color_bar">
<span class="color_title">Female</span>
<input id="femaleCell" class="picker" type="color" name="favcolor" value="#42cfb5">
<input class="picker" id="femaleCon" style="width:100px; clip-path: inset(40% 10% 40% 10%);" type="color" name="favcolor" value="#15d1ae">
</div>
<div class="color_bar">
<span class="color_title">Male</span>
<input id="maleCell" class="picker" type="color" name="favcolor" value="#ff3940">
<input id="maleCon" class="picker" style="width:100px; clip-path: inset(40% 10% 40% 10%);" type="color" name="favcolor" value="#bf2b30">
</div>
<div class="color_bar">
<span class="color_title">Not Specified</span>
<input id="notCell" class="picker" type="color" name="favcolor" value="#b09dc9">
<input id="notCon" class="picker" style="width:100px; clip-path: inset(40% 10% 40% 10%);" type="color" name="favcolor" value="#c8bed4">
</div>
<button type="button" id="reset">Reset</button>
<button type="button" id="apply">Apply</button>
</div>
</div>
<!-- CANVAS'ES --------------------------------------->
<div id="sigma-static-bigData-container" style="pointer-events: none;"></div>
<div id="sigma-static-blackHole-container" style="pointer-events: none;"></div>
<div id="container">
<div id="sigma-container">
</div>
</div>
<div id="ui_container">
<!--<div class="centerbar ghost"></div> -->
<div class="centerbar">
<div id="centerline"></div>
<div id="name_Title"> <span id="titulo">BLACK CARPET</span></div>
<div id="about">
<div id="aboutlittle">
<span>An interstellar network of movie stars.<br>
Click to find out more</span>
</div>
</div>
</div>
<div id="setafora" style="cursor: pointer">
<svg width="32" height="23" viewBox="0 0 32 23" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12.3517 21.7034L2 11.3517L12.3517 1.00001" stroke="white" stroke-width="2"/>
<path d="M2.54492 11.3518L31.4207 11.3518" stroke="white" stroke-width="2"/>
</svg>
</div>
<div class="sidebar ghost" ></div>
<div class="sidebar" style="z-index:3;">
<div class="sidebarCONT">
<div id="search_container">
<div class="ui_title" style="max-height:1.2rem;" ><pre class="ui_title">Find Actor</pre></div>
<form id="search_actor" autocomplete="off">
<span id="suggestion-container"><span id="typed"></span><span id="suggestion"></span></span>
<input id="search_bar" value="" type="text" placeholder="Kevin Bacon">
</form>
</div>
<div id="gender_container">
<div class="ui_title">Genders</div>
<form id="gender_selector">
<input class="gender_box" id="GS_female" type="checkbox" name="GS_female" value="1" checked>
<label for="GS_female">Female</label>
<input class="gender_box" id="GS_male" type="checkbox" name="GS_male" value="2" checked>
<label for="GS_male">Male</label>
<input class="gender_box" id="GS_unknown" type="checkbox" name="GS_unknown" value="0" checked>
<label for="GS_unknown">Not Specified</label>
</form>
</div>
<div id="genre_container">
<div class="ui_title">Categories</div>
<form id="genre_selector">
<input class="genre_box" id="action" type="checkbox" name="action" value="action" checked>
<label for="action">Action</label>
<input class="genre_box" id="adventure" type="checkbox" name="adventure" value="adventure" checked>
<label for="adventure">Adventure</label>
<input class="genre_box" id="animation" type="checkbox" name="animation" value="animation" checked>
<label for="animation">Animation</label>
<input class="genre_box" id="comedy" type="checkbox" name="comedy" value="comedy" checked>
<label for="comedy">Comedy</label>
<input class="genre_box" id="crime" type="checkbox" name="crime" value="crime" checked>
<label for="crime">Crime</label>
<input class="genre_box" id="drama" type="checkbox" name="drama" value="drama" checked>
<label for="drama">Drama</label>
<input class="genre_box" id="family" type="checkbox" name="family" value="family" checked>
<label for="family">Family</label>
<input class="genre_box" id="fantasy" type="checkbox" name="fantasy" value="fantasy" checked>
<label for="fantasy">Fantasy</label>
<input class="genre_box" id="history" type="checkbox" name="history" value="history" checked>
<label for="history">History</label>
<input class="genre_box" id="horror" type="checkbox" name="horror" value="horror" checked>
<label for="horror">Horror</label>
<input class="genre_box" id="mystery" type="checkbox" name="mystery" value="mystery" checked>
<label for="mystery">Mystery</label>
<input class="genre_box" id="music" type="checkbox" name="music" value="music" checked>
<label for="music">Music</label>
<input class="genre_box" id="romance" type="checkbox" name="romance" value="romance" checked>
<label for="romance">Romance</label>
<input class="genre_box" id="scifi" type="checkbox" name="science fiction" value="science fiction" checked>
<label for="scifi">Science Fiction</label>
<input class="genre_box" id="thriller" type="checkbox" name="thriller" value="thriller" checked>
<label for="thriller">Thriller</label>
<input class="genre_box" id="war" type="checkbox" name="war" value="war" checked>
<label for="war">War</label>
<input class="genre_box" id="western" type="checkbox" name="western" value="western" checked>
<label for="western">Western</label>
</form>
<div><span id="genre_show_all">Show All</span><span id="genre_hide_all">Hide All</span></div>
</div>
<div class="search_container" style="margin-bottom: 2rem; margin-left:2rem;">
<div class="ui_title" id="colorOpen" >Change Colors</div>
</div>
</div>
</div>
</div>
<div id="loadScreen">
<div id="loadContainer">
<p id="loadTittle">BLACK CARPET</p>
<p id="Loadline"></p>
<p id="loadStatus">Loading...</p>
</div>
</div>
<script src="JS/ux_css_manipulation.js"></script>
</body>
</html>