forked from 3Kmfi6HP/3Kmfi6HP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rd345.html
237 lines (217 loc) · 8.52 KB
/
rd345.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css"
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<link rel="stylesheet" href="./sub.css" type="text/css"/>
<link href="https://fonts.googleapis.com/css?family=Cinzel|Comfortaa|Gloria+Hallelujah" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://videopress.com/videopress-iframe.js"></script>
<title>gyue.me</title>
</head>
<body>
<div class="bg"></div>
<div class="jumbotron" style="
background: url(./assets/img/waves0.png) no-repeat;
background-size: contain;
image-rendering: -moz-crisp-edges;
image-rendering: -webkit-crisp-edges;
image-rendering: pixelated;
image-rendering: crisp-edges;
background-position: 48% 20px"
id="fetch">
<header class="container">
<div class="row" style="position: relative">
<div class="col-md-4 p-5">
<a href="./index.html">
<img id="home" src="./assets/img/profile.png"
class="img-fluid rounded upNdown"
alt="Responsive image"></a>
</div>
<div class="col-6 p-5" style="color: black">
<h1 style="font-family: 'Gloria Hallelujah', cursive;
font-size: 200%">
<h1> <b>Gillian Yue</b>:
<i>Game Design Portfolio</i></h1>
<h4>Design, Development & Art</h4>
</div>
</div>
</header>
</div>
<section class="container bg-transparent"
style="font-family: 'Comfortaa', cursive"> <!-- texts of about me -->
<div class="row">
<div class="col-11" style="margin: auto">
<div class="bg-light px-5 pt-3 pb-1">
<dt class=""
style="font-family: 'Gloria Hallelujah', cursive;
font-size: 130%">Rubber Ducky 345</dt>
<div class="container">
<p>This is a 24-hour hackathon project coded using Java and <a href="https://processing.org/">Processing</a>
. The game makes use of Google's <a href="https://quickdraw.withgoogle.com/">QuickDraw</a>
public dataset of hundreds of thousands of doodles of objects (345 in total!) from the hands of
countless users throughout the world.</p>
<p>The idea is that the protagonist of the game, rubber ducky, travels randomly to different worlds,
where each world has a different theme indicated by a noun (e.g. "violin", "horse", etc.)
</p>
<p>The game searches up the keyword on Google with web requests and gets a list of images from Google'
search result. One of those images is displayed as the background of the current world, while the
other images are used for calculating a theme color for the noun. This is achieved by looping through
all the pixels of the images and finding out the average color of the images.
</p>
<div class="row">
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/1.png" style="width:100%">
<div class="caption">
<p>"motorbike"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/2.png" style="width:100%">
<div class="caption">
<p>"star"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/3.png" style="width:100%">
<div class="caption">
<p>"television"</p>
</div>
</div>
</div>
</div>
</div>
<p>
Video of program running:
</p>
</div>
<div class="bg-light px-5 pt-1 pb-5">
<video width="800" controls>
<source src="./assets/video/rd_video.mp4" type="video/mp4">
</video>
</div>
<div class="container bg-light px-5 pt-1 pb-5">
<p>Below are some more examples of what might come out:</p>
<div class="row">
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/4.png" style="width:100%">
<div class="caption">
<p>"nail"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/5.png" style="width:100%">
<div class="caption">
<p>"bee"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/6.png" style="width:100%">
<div class="caption">
<p>"octopus"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/7.png" style="width:100%">
<div class="caption">
<p>"lollipop"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/8.png" style="width:100%">
<div class="caption">
<p>"square"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/9.png" style="width:100%">
<div class="caption">
<p>"toothpaste"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/10.png" style="width:100%">
<div class="caption">
<p>"camel"</p>
</div>
</div>
</div>
<div class="col-md-4">
<div class="thumbnail">
<img src="./assets/img/Rubber_Duck/11.png" style="width:100%">
<div class="caption">
<p>"horse"</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="footer" class="footer navbar-fixed-bottom">
<div class="container">
<div class="row">
<div class="col-md-12 py-3" >
<div class="mb-5 center" style="
text-align: center">
<p id="copyright">Gillian Yue © 2020</p>
<div class="row center" id="center" style="width: 600px; margin: auto;">
<div >
<p id="contactInfo">[email protected]</p>
<p id="contactInfo">(508)654-7642</p>
</div>
<ul class="list-unstyled list-inline social text-center" style="width: auto">
<li class="list-inline-item"><a>
<i class="far fa-moon" id="moon" onclick="moon()"></i></li></a>
<li class="list-inline-item">
<a href="https://www.linkedin.com/in/gillian-yue/" target="_blank">
<i class="fab fa-linkedin"></i></a></li>
<li class="list-inline-item">
<a href="https://github.com/GillianYue" target="_blank">
<i class="fab fa-github"></i></a></li>
<li class="list-inline-item">
<a href="https://www.youtube.com/channel/UCxLWq57kctYtRhiZXUQvmuQ/videos?view_as=subscriber"
target="_blank">
<i class="fab fa-youtube"></i></a></li>
<li class="list-inline-item"><a>
<i class="fas fa-poop" id="pp" onclick="pp()"></i></a></li>
</ul></div>
</div>
</div>
</div>
</div>
</section>
<!-- -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>