-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPathfinder2.html
More file actions
330 lines (302 loc) · 9.28 KB
/
Pathfinder2.html
File metadata and controls
330 lines (302 loc) · 9.28 KB
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
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!DOCTYPE html>
<html class=''>
<head>
<!-- <script src='//production-assets.codepen.io/assets/editor/live/console_runner-079c09a0e3b9ff743e39ee2d5637b9216b3545af0de366d4b9aad9dc87e26bfd.js'></script>
<script src='//production-assets.codepen.io/assets/editor/live/events_runner-73716630c22bbc8cff4bd0f07b135f00a0bdc5d14629260c3ec49e5606f98fdd.js'></script>
<script src='//production-assets.codepen.io/assets/editor/live/css_live_reload_init-2c0dc5167d60a5af3ee189d570b1835129687ea2a61bee3513dee3a50c115a77.js'></script>
<meta charset='UTF-8'>
<meta name="robots" content="noindex">
<link rel="shortcut icon" type="image/x-icon" href="//production-assets.codepen.io/assets/favicon/favicon-8ea04875e70c4b0bb41da869e81236e54394d63638a1ef12fa558a4a835f1164.ico" />
<link rel="mask-icon" type="" href="//production-assets.codepen.io/assets/favicon/logo-pin-f2d2b6d2c61838f7e76325261b7195c27224080bc099486ddd6dccb469b8e8e6.svg" color="#111" />
<link rel="canonical" href="https://codepen.io/donovanh/pen/pvMeeB?limit=all&page=16&q=animation" />
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script> -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<title>Pathfinder</title>
<style>
.center {
display: inline-flex;
justify-content: center;
align-itvws: center;
vertical-align: center;
height: 370px;
/* border: 3px solid green; */
}
</style>
<style class="cp-pen-styles">.logo {
width: 8vw;
position: absolute;
left: 1vw;
top: 1vw;
}
span {
display: block;
position: absolute;
top: calc(50% - 10vw);
left: calc(50% - 10vw);
width: 20vw;
height: 20vw;
}
span.spin {
-webkit-animation: spin 10s linear infinite;
animation: spin 10s linear infinite;
}
span.spin-reverse {
-webkit-animation: spin 30s linear infinite;
animation: spin 30s linear infinite;
}
span.pulse {
-webkit-animation: spin-pulse 20s linear infinite;
animation: spin-pulse 20s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotateZ(0);
transform: rotateZ(0);
}
100% {
-webkit-transform: rotateZ(360deg);
transform: rotateZ(360deg);
}
}
@keyframes spin {
0% {
-webkit-transform: rotateZ(0);
transform: rotateZ(0);
}
100% {
-webkit-transform: rotateZ(360deg);
transform: rotateZ(360deg);
}
}
@-webkit-keyframes spin-pulse {
0% {
-webkit-transform: scale(1) rotateZ(0);
transform: scale(1) rotateZ(0);
}
50% {
-webkit-transform: scale(0.9) rotateZ(180deg);
transform: scale(0.9) rotateZ(180deg);
}
100% {
-webkit-transform: scale(1) rotateZ(360deg);
transform: scale(1) rotateZ(360deg);
}
}
@keyframes spin-pulse {
0% {
-webkit-transform: scale(1) rotateZ(0);
transform: scale(1) rotateZ(0);
}
50% {
-webkit-transform: scale(0.9) rotateZ(180deg);
transform: scale(0.9) rotateZ(180deg);
}
100% {
-webkit-transform: scale(1) rotateZ(360deg);
transform: scale(1) rotateZ(360deg);
}
}
body {
background: #1b212c;
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
color: #fff;
font-size: 24px;
}
.circle {
border-radius: 50%;
left: calc(50% - 12.5vw);
top: calc(50% - 25vw);
-webkit-transform-origin: 50% 25vw;
transform-origin: 50% 25vw;
}
.squircle {
border-radius: 25%;
}
.circle, .squircle {
width: 25vw;
height: 25vw;
position: absolute;
border-top: 0.1vw solid rgba(255, 255, 255, 0.4);
}
.large.circle {
box-shadow: 0 1vw 4vw rgba(0, 0, 0, 0.5);
}
.small {
width: 4vw;
height: 4vw;
left: calc(50% - 4vw);
top: calc(50% - 30vw);
-webkit-transform-origin: 50% 30vw;
transform-origin: 50% 30vw;
box-shadow: 0 0.5vw 1vw rgba(0, 0, 0, 0.2);
}
.one {
background: rgba(16, 63, 236, 0.75);
-webkit-transform: rotateZ(225deg);
transform: rotateZ(225deg);
}
.two {
background: rgba(37, 172, 162, 0.75);
-webkit-transform: rotateZ(180deg);
transform: rotateZ(180deg);
}
.three {
background: rgba(233, 124, 32, 0.75);
-webkit-transform: rotateZ(135deg);
transform: rotateZ(135deg);
}
.four {
background: rgba(235, 67, 35, 0.75);
-webkit-transform: rotateZ(90deg);
transform: rotateZ(90deg);
}
.five {
background: rgba(190, 28, 65, 0.75);
-webkit-transform: rotateZ(45deg);
transform: rotateZ(45deg);
}
.six {
background: rgba(208, 57, 159, 0.75);
-webkit-transform: rotateZ(0);
transform: rotateZ(0);
}
.seven {
background: rgba(150, 32, 198, 0.75);
-webkit-transform: rotateZ(-45deg);
transform: rotateZ(-45deg);
}
.eight {
background: rgba(95, 33, 203, 0.75);
-webkit-transform: rotateZ(-90deg);
transform: rotateZ(-90deg);
}
.small.squircle {
background: none;
box-shadow: none;
}
.small.squircle::after {
content: "";
border-radius: 25%;
width: 100%;
height: 100%;
position: absolute;
background: red;
-webkit-transform: rotateZ(-45deg);
transform: rotateZ(-45deg);
box-shadow: -0.5vw 0.5vw 1vw rgba(0, 0, 0, 0.2);
}
.small.squircle.two::after {
background: rgba(37, 172, 162, 0.75);
}
.small.squircle.four::after {
background: rgba(235, 67, 35, 0.75);
}
.small.squircle.six::after {
background: rgba(208, 57, 159, 0.75);
}
.small.squircle.eight::after {
background: rgba(95, 33, 203, 0.75);
}
.large.squircle {
position: absolute;
background: rgba(30, 7, 66, 0.65);
border: none;
left: calc(50% - 7.5vw);
top: calc(50% - 7.5vw);
width: 30vw;
height: 30vw;
-webkit-transform: none;
transform: none;
}
.large.squircle.one {
-webkit-transform: rotateZ(45deg);
transform: rotateZ(45deg);
}
.content {
text-align: center;
}
.content svg {
fill: #fff;
width: 3vw;
margin: 1.25vw auto 1vw;
}
.content h1 {
font-weight: lighter;
font-size: 1.75vw;
margin: 0.5vw auto 1vw;
max-width: 6vw;
}
.message {
position: absolute;
left: 1vw;
bottom: 1vw;
right: 0;
color: #222;
text-align: left;
}
.message a {
text-decoration: none;
font-weight: bold;
color: #999;
}
</style></head><body>
<div class>
<form action="http://localhost:8080/cgi-bin/Pathfinder/Inventory.cgi">
<input type="hidden" name="Inventory" value="Inventory.txt">
<button type="submit" style="background-color: #1b212c; border-color: #1b212c; box-shadow: none;">
<article class="wwdc">
<span class="spin">
<!-- Large Circles -->
<div class="large circle one"></div>
<div class="large circle two"></div>
<div class="large circle three"></div>
<div class="large circle four"></div>
<div class="large circle five"></div>
<div class="large circle six"></div>
<div class="large circle seven"></div>
<div class="large circle eight"></div>
</span>
<span class="pulse">
<!-- Small Shapes -->
<div class="small circle one"></div>
<div class="small squircle two"></div>
<div class="small circle three"></div>
<div class="small squircle four"></div>
<div class="small circle five"></div>
<div class="small squircle six"></div>
<div class="small circle seven"></div>
<div class="small squircle eight"></div>
</span>
<!-- Squircles -->
<span class="spin-reverse">
<div class="large squircle one"></div>
</span>
<div class="large squircle two">
<div class="center">
<svg viewBox="0 0 160 164" xmlns="http://www.w3.org/2000/svg">
<g>
<g id="svg_1">
<path d="m127.805969,90.003128c0.224838,24.213104 21.241287,32.270615 21.474121,32.373459c-0.177704,0.56826 -3.358078,11.482742 -11.072464,22.756622c-6.668747,9.746841 -13.590027,19.457977 -24.493088,19.659103c-10.713348,0.197403 -14.158287,-6.353043 -26.406677,-6.353043c-12.24469,0 -16.072174,6.151901 -26.213551,6.550446c-10.52422,0.398254 -18.538303,-10.539917 -25.26247,-20.251053c-13.740021,-19.864456 -24.24024,-56.132286 -10.1411,-80.613663c7.004152,-12.157551 19.521101,-19.85622 33.10713,-20.053638c10.334515,-0.197132 20.089069,6.952717 26.406689,6.952717c6.313614,0 18.167473,-8.59832 30.628998,-7.335548c5.21682,0.217129 19.860519,2.1073 29.263641,15.871029c-0.75766,0.469692 -17.472931,10.200527 -17.291229,30.443592m-20.134499,-59.456692c5.587379,-6.7633 9.348007,-16.178439 8.322067,-25.546439c-8.053787,0.32369 -17.792625,5.36682 -23.569427,12.126399c-5.177124,5.985922 -9.711121,15.566772 -8.48777,24.749359c8.976891,0.69453 18.147476,-4.561718 23.73513,-11.329308"/>
</g>
</g>
</svg>
<!-- <h1>Click here to continue</h1> -->
<h1 style="font-size: calc(12pt + 3vw);;"><strong>Pathfinder</strong><sup><strong>α</strong></sup></h1>
</div>
</div>
</article>
</button>
<script src='//production-assets.codepen.io/assets/common/stopExecutionOnTimeout-b2a7b3fe212eaa732349046d8416e00a9dec26eb7fd347590fbced3ab38af52e.js'></script>
<script >/* CSSAnimation.rocks
Learn all about CSS animation with my vwail course: https://cssanimation.rocks/courses/animation-101/
*/
//# sourceURL=pen.js
</script>
</body></html>