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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
|
HTTP/1.1 200 OK
Date: Thu, 09 Jan 2025 21:48:45 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: close
alt-svc: h3=":443"; ma=86400
content-disposition: inline;
cf-cache-status: DYNAMIC
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=HoLapdkVmVNNOWOPHLfVaLulPcOZhVCo5Rc7etuMv4Qg%2FYpg9agn%2B2v5kO1WDKmhj5XLL97PbdHfcOnJmuCRK87qnlSJdx6DfRlQlbIBJwxXWjPNeTrZhCgl"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 8ff7a222e9214df9-MCI
server-timing: cfL4;desc="?proto=TCP&rtt=3935&min_rtt=3648&rtt_var=1573&sent=5&recv=6&lost=0&retrans=0&sent_bytes=2810&recv_bytes=469&delivery_rate=793859&cwnd=249&unsent_bytes=0&cid=86505eb6c8333f64&ts=102&x=0"
365b
<html lang="en">
<head>
<title>amyy!</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Source+Code+Pro:ital@0;1&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<script>
let yellow = document.getElementById("yellow-here")
function yellowing(){
if(yellow == null) yellow = document.getElementById("yellow-here")
let h = window.innerHeight;
let count = Math.ceil(h/1000) + 2;
let out = ""
for(let i = 0; i < count; i++){
out += "<div>0x6a09e667; 0xbb67ae85; 0x3c6ef372; 0xa54ff53a; 0x510e527f; 0x9b05688c; 0x1f83d9ab; 0x5be0cd19; </div>"
}
yellow.innerHTML = out
}
window.addEventListener('resize', yellowing, true);
function css(element, property){
return window.getComputedStyle(element, null).getPropertyValue(property);
}
function appendHtml(el, str) {
var div = document.createElement('div');
div.innerHTML = str;
while (div.children.length > 0) {
el.appendChild(div.children[0]);
}
}
function translate(elem, x, y, delay) {
return new Promise((res, rej) => {
let left = parseInt(css( elem, 'left' ), 10),
top = parseInt(css( elem, 'top' ), 10),
dx = left - x,
dy = top - y,
i = 1,
count = 20;
function loop() {
if (i >= count) return res();
i += .02;
elem.style.left = (left - (dx * i / count)).toFixed(0) + 'px';
elem.style.top = (top - (dy * i / count)).toFixed(0) + 'px';
setTimeout(loop, delay/5);
}
loop();
})
}
async function awa(parent, i){
for(;;){
appendHtml(parent, "<div style='width:"+(Math.random() * 50 + 120)+"px;top:"+window.innerHeight*1.1+"px; left:"+window.innerWidth* Math.random()+"px;' class='circle' id='circle-"+i+"'></div>")
let el = document.getElementById("circle-"+i)
await translate(el, 500 * Math.random(), -200, 50 + 50 * Math.random())
el.remove()
}
}
function circles(){
let circle_root = document.getElementById("circle-cont")
let count = 17;
let i = 1;
function f(){
awa(circle_root, i)
i++
if(i >= count) return;
setTimeout(f, 500);
}
f()
}
const smoothing = 1
function fade_out(elem, up){
return new Promise((res, rej) => {
if(up) elem.classList.add("fade_out_up")
else elem.classList.add("fade_out_down")
setTimeout(()=>{
elem.style.opacity = "0%"
//chrome is stupid, and would mess the up if it was structured like fade_in
setTimeout(()=>{
elem.classList.add("hide")
if(up) elem.classList.remove("fade_out_up")
else elem.classList.remove("fade_out_down")
elem.style.opacity = "100%"
res()
},40)
}, 320)
})
}
function fade_in(elem, up){
return new Promise((res, rej) => {
if(up) elem.classList.add("fade_in_up")
else elem.classList.add("fade_in_down")
elem.classList.remove("hide")
setTimeout(()=>{
if(up) elem.classList.remove("fade_in_up")
else elem.classList.remove("fade_in_down")
res()
}, 560)
})
}
let cont_arr = []
let item = 1;
function populate_dots(count){
let left = document.getElementsByClassName("left-hand")[0];
for(let i = 1; i != count; i++){
appendHtml(left, '<div class="dot" id="dot-'+i+'"></div>');
let new_dot = document.getElementById("dot-"+i)
new_dot.onclick = async () => {
if(item == i) return;
let direction = item < i;
await fade_out(cont_arr[item], direction);
item = i;
light_dot(item);
await fade_in(cont_arr[item], direction);
}
}
}
function light_dot(n){
let elems = document.getElementsByClassName("dot")
for(let d of elems){
d.classList.remove("dot-lit")
}
elems[n - 1].classList.add("dot-lit")
}
async function move_main(up){
if(up){
if(item >= 2){
await fade_out(cont_arr[item], false);
item--;
light_dot(item);
await fade_in(cont_arr[item], false);
}
} else {
if(item < cont_arr.length - 1){
await fade_out(cont_arr[item], true);
item++;
light_dot(item);
await fade_in(cont_arr[item], true);
}
}
}
async function wheel_fun(ev){
document.body.onwheel = undefined
if(ev.deltaY < 0){
await move_main(true)
} else if(ev.deltaY > 0) {
await move_main(false)
}
document.body.onwheel = wheel_fun
}
let tX = 0;
let tY = 0;
function touch_start_fun(e){
e = e.touches.item(0)
tX = e.screenX;
tY = e.screenY;
}
async function touch_end_fun(e){
document.body.removeEventListener('touchstart', touch_start_fun)
document.body.removeEventListener('touchend', touch_end_fun)
e = e.changedTouches.item(0)
const thresh = 65
if(tY < e.screenY && e.screenY - tY > thresh){
//down
await move_main(true)
} else if (tY > e.screenY && tY - e.screenY > thresh){
//up
await move_main(false)
}
document.body.addEventListener('touchstart', touch_start_fun)
document.body.addEventListener('touchend', touch_end_fun)
}
function get(u){
var xmlHttp = new XMLHttpRequest()
xmlHttp.open("GET", u, false)
xmlHttp.send(null)
return xmlHttp.responseText
}
function load(){
yellowing()
circles()
let links = document.getElementsByClassName("ico")
for(let link of links){
link.onerror = () => {
//fallback image
link.src = "link.png"
link.onerror = undefined;
}
link.src = link.src
}
let tcont = document.getElementById("cont-1");
for(let i = 1;tcont != null; i++){
cont_arr.push(tcont);
tcont = document.getElementById("cont-"+i);
}
populate_dots(cont_arr.length)
light_dot(1)
document.getElementById("version").innerHTML = get("version")
document.body.onwheel = wheel_fun
document.body.addEventListener('touchstart', touch_start_fun)
document.body.addEventListener('touchend', touch_end_fun)
}
</script>
</head>
<body onload="load()">
<div class="c">
<div class="blur" id="circle-cont">
</div>
<div class="filter filter-dodge"></div>
<div class="filter filter-burn"></div>
</div>
<div class="huh"></div>
<div class="oflex">
<div class="cont" id="cont-1">
<div class="inner">
<a style="padding-right:25px; position: relative;" href="https://mangadex.org/title/bd6d0982-0091-4945-ad70-c028ed3c0917/mushoku-tensei-isekai-ittara-honki-dasu"><img alt="pfp" height="180" src="pfp.png"></a>
<div class="items">
<h1>amelia (ame | amy) <b style="font-size:17px;">she/it</b></h1>
<div class="info">
<div class="l">bio</div>
<div class="l"><b>;</b> being silly</div>
<div class="l">links</div>
<div class="l" style="max-width:450px;"><b>;</b>
<a class="link" href="https://git.disroot.org/amelia"><img alt="icon" class="ico" src="https://git.disroot.org/favicon.ico">git</a>(<a class="link" href="https://git.amyy.cc"><img alt="icon" class="ico" src=".">alt</a>)
<a class="link" href="https://github.com/ameliasquires/"><img alt="icon" class="ico" src="https://github.com/favicon.ico">github</a>
<a class="link" href="https://keyoxide.org/592843A0BE5EE9FA6960C63897CEC24F4AB637EB"><img alt="icon" class="ico" src="https://keyoxide.org/favicon.svg">keyoxide</a>
<a class="link" href="https://pronouns.cc/@amelia"><img alt="icon" class="ico" src="https://en.pronouns.page/_nuxt/icons/icon_64x64.dbf401.png">pronouns</a>
</div>
</div>
<b style="font-size:15px;">(scroll for more)</b>
</div>
</div>
</div>
<div class="cont hide" id="cont-2">
<div class="hflex">
<div class="cbox">
<h3>languages and skills:3</h3>
<ul>
<li>c/c++</li>
<li>zig</li>
<li>js + webdev</li>
<li>sysadmin/linux</li>
<li>low level stuff</li>
</ul>
</div>
<div class="vflex">
<div class="cbox">i enjoy some gaming too, competitive and casual,<br>
terraria, cs2, and pokemon notably along with some shiny hunting:)</div>
<div class="cbox">i watch anime too:3 anything from romance to action<br>i will usually enjoy:3</div>
</div>
</div>
</div>
<div class="cont hide" id="cont-3">
clean project page coming soon:3
</div>
<div class="cont hide" id="cont-4">
made with <span id="red"><3</span> <br>
tested on firefox <br>
running on <a href="https://github.com/ameliasquires/lullaby">lullaby</a><b id="version">version</b>
<a href="https://github.com/nyoom-engineering/base16-oxocarbon/tree/main">
<div style="display:flex; background:red; height: 40px; flex-wrap: wrap; margin-top:3px;">
<div style="background:#161616; flex-grow: 1;"></div>
<div style="background:#262626; flex-grow: 1;"></div>
<div style="background:#393939; flex-grow: 1;"></div>
<div style="background:#525252; flex-grow: 1;"></div>
<div style="background:#dde1e6; flex-grow: 1;"></div>
<div style="background:#f2f4f8; flex-grow: 1;"></div>
<div style="background:#ffffff; flex-grow: 1;"></div>
<div style="background:#08bdba; flex-grow: 1;"></div>
</div>
<div style="display:flex; background:red; height: 40px; flex-wrap: wrap;">
<div style="background:#42be65; flex-grow: 1;"></div>
<div style="background:#3ddbd9; flex-grow: 1;"></div>
<div style="background:#82cfff; flex-grow: 1;"></div>
<div style="background:#33b1ff; flex-grow: 1;"></div>
<div style="background:#78a9ff; flex-grow: 1;"></div>
<div style="background:#be95ff; flex-grow: 1;"></div>
<div style="background:#ee5396; flex-grow: 1;"></div>
<div style="background:#ff7eb6; flex-grow: 1;"></div>
</div>
</a>
</div>
<div class="peeb"></div>
<div class="sc-out">
<div class="sc-in" id="yellow-here">
<!--sha256/224 iv, why? didnt know what else to do:p-->
<div>0x6a09e667; 0xbb67ae85; 0x3c6ef372; 0xa54ff53a; 0x510e527f; 0x9b05688c; 0x1f83d9ab; 0x5be0cd19; </div><div>
0x6a09e667; 0xbb67ae85; 0x3c6ef372; 0xa54ff53a; 0x510e527f; 0x9b05688c; 0x1f83d9ab; 0x5be0cd19;</div></div>
</div>
<div class="peeb"></div>
</div>
<div class="left-hand"></div>
<a href="https://www.pokencyclopedia.info/sprites/menu-icons/ico-a_old/ico-a_old_637.gif"><img alt="volcarona" src="./volcarona.gif" style="position: absolute; bottom:5px; left:5px; width: 40px;"></a>
</body>
</html>
0
|