-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPsychdelic.html
More file actions
386 lines (341 loc) · 16.3 KB
/
Copy pathPsychdelic.html
File metadata and controls
386 lines (341 loc) · 16.3 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
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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FrankSx | Psychedelic Parser Synthesizer</title>
<script src="https://cdn.tailwindcss.com"></script>
<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=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;600;700&display=swap" rel="stylesheet">
<style>
body {
margin: 0;
overflow: hidden;
background-color: #000;
font-family: 'Space Grotesk', sans-serif;
user-select: none;
}
.mono { font-family: 'JetBrains Mono', monospace; }
canvas {
display: block;
width: 100vw;
height: 100vh;
}
.glass-panel {
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
background: rgba(10, 10, 20, 0.65);
border: 1px solid rgba(255, 255, 255, 0.12);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
#resume {
transition: opacity 0.4s ease, transform 0.4s ease;
}
#resume.is-hidden {
opacity: 0;
pointer-events: none;
transform: scale(0.97) translateY(12px);
}
#resume.is-visible {
opacity: 1;
pointer-events: auto;
transform: scale(1) translateY(0);
}
.crt::after {
content: "";
position: absolute; inset: 0;
background: repeating-linear-gradient(transparent 0 2px, rgba(0, 255, 255, 0.02) 2px 4px);
pointer-events: none;
}
</style>
</head>
<body class="relative bg-black text-white">
<!-- PARSER LAYER 2: BASE64 ATTRIBUTE EMBED -->
<svg id="resumeDataStage" class="hidden"
data-resume="R3JhbmtTeCAtIENyZWF0aXZlIFRlY2hub2xvZ2lzdCAvIFJldmVyc2UgRW5naW5lZXJpbmcgLyBDb25zdWx0YW50ClNVTU1BUlk6IFJlc2VhcmNoZXIgZm9jdXNlZCBvbiBwYXJzZXIgZGlmZmVyZW50aWFscywgcG9seWdsb3QgZmlsZXMsIGFuZCBicm93c2VyIHJlbmRlcmluZyBlZGdlIGNhc2VzLgpTS0lMTFM6IFJldmVyc2UgRW5naW5lZXJpbmcsIEZpcm13YXJlLCBHZW5lcmF0aXZlIEFydCwgQUkgVGVzdGluZywgRmlsZSBIYW5kbGluZyBFbmRwb2ludCBUZXN0aW5nLg=="></svg>
<!-- WEBGL CANVAS STAGE -->
<canvas id="glcanvas"></canvas>
<!-- HUD OVERLAY -->
<div class="fixed top-6 left-6 z-10 pointer-events-none">
<div class="glass-panel rounded-2xl p-5 text-white shadow-2xl max-w-xs pointer-events-auto transition-opacity duration-300 opacity-90 hover:opacity-100">
<div class="flex items-center justify-between mb-3">
<h1 class="text-xs font-bold tracking-wider uppercase text-cyan-300 mono">PARSER FOREST ENGINE</h1>
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
</div>
<p class="text-xs text-slate-300 leading-relaxed mb-4">
A real-time WebGL shader matrix concealing an embedded multi-layer resume.
</p>
<div class="space-y-2 text-[11px] mono text-slate-400 border-t border-white/10 pt-3">
<div class="flex justify-between">
<span>Target:</span>
<span class="text-cyan-400 font-bold">FrankSx</span>
</div>
<div class="flex justify-between">
<span>Field Mode:</span>
<span id="modeVal" class="text-purple-400 font-bold">Kaleidoscope</span>
</div>
</div>
<div class="grid grid-cols-2 gap-2 mt-4">
<button id="toggleBtn" class="py-2 px-3 rounded-xl bg-purple-600/40 hover:bg-purple-600/60 border border-purple-400/30 text-white font-medium text-xs transition">
Morph
</button>
<button id="openResumeBtn" class="py-2 px-3 rounded-xl bg-cyan-500/20 hover:bg-cyan-500/40 border border-cyan-400/40 text-cyan-200 font-medium text-xs transition flex items-center justify-center gap-1">
<span>Resume</span>
<kbd class="px-1 py-0.5 text-[9px] bg-cyan-950/80 rounded border border-cyan-500/30">R</kbd>
</button>
</div>
</div>
</div>
<div class="fixed bottom-6 left-1/2 -translate-x-1/2 z-10 pointer-events-none">
<div class="glass-panel px-4 py-2 rounded-full text-[11px] mono text-slate-300 tracking-widest uppercase">
Press [ R ] or Triple-Click to Reveal Hidden Resume Layer
</div>
</div>
<!-- PARSER LAYER 1: HIDDEN RESUME MODAL -->
<div id="resume" class="is-hidden fixed inset-0 z-50 flex items-center justify-center p-4 md:p-6">
<div id="resumeBackdrop" class="absolute inset-0 bg-black/85 backdrop-blur-2xl"></div>
<div class="relative w-full max-w-[860px] glass-panel rounded-[24px] overflow-hidden crt max-h-[90vh] flex flex-col">
<div class="relative mono p-6 md:p-10 overflow-y-auto">
<!-- header -->
<div class="flex flex-col md:flex-row md:items-start md:justify-between gap-6 border-b border-cyan-500/20 pb-6">
<div>
<h1 class="text-3xl md:text-4xl leading-none tracking-tight text-white font-semibold">FrankSx</h1>
<p class="mt-2 text-cyan-300 text-sm">Creative Technologist / Reverse Engineering / Consultant</p>
</div>
<div class="flex items-center gap-2 text-xs">
<span class="px-3 py-1 rounded-full bg-emerald-500/10 border border-emerald-500/30 text-emerald-300">AVAILABLE</span>
<span class="px-3 py-1 rounded-full bg-white/5 border border-white/10 text-slate-300">REMOTE</span>
</div>
</div>
<!-- body -->
<div class="grid md:grid-cols-5 gap-8 mt-8">
<div class="md:col-span-3 space-y-7">
<section>
<h2 class="text-xs uppercase tracking-widest text-cyan-400 font-bold mb-3">Summary</h2>
<p class="text-sm leading-relaxed text-slate-300">
Researcher focused on parser differentials, polyglot files, and browser rendering edge cases[cite: 2]. I build generative systems that hide in plain sight — like this WebGL synthesizer that conceals a resume in three parser layers[cite: 2].
</p>
</section>
<section>
<h2 class="text-xs uppercase tracking-widest text-cyan-400 font-bold mb-3">Projects</h2>
<div class="space-y-4 text-sm">
<div class="bg-slate-900/60 p-4 rounded-xl border border-white/5">
<div class="text-white font-medium">Parser Forest Test</div>
<div class="text-slate-400 text-xs mt-1">JPEG-in-SVG polyglot exploring how HTML, SVG, and image parsers disagree on the same bytes[cite: 2].</div>
</div>
<div class="bg-slate-900/60 p-4 rounded-xl border border-white/5">
<div class="text-white font-medium">Endless JPEG / WebGL Synthesizer</div>
<div class="text-slate-400 text-xs mt-1">Real-time shader stream & canvas encoding used as a living polyglot texture[cite: 2].</div>
</div>
</div>
</section>
</div>
<div class="md:col-span-2 space-y-7">
<section>
<h2 class="text-xs uppercase tracking-widest text-cyan-400 font-bold mb-3">Skills</h2>
<ul class="text-xs leading-6 text-slate-300 space-y-1">
<li>• Reverse Engineering (HW/SW/OS)[cite: 2]</li>
<li>• Firmware / Embedded Security Assessment[cite: 2]</li>
<li>• Generative Art (Canvas2D/WebGL)[cite: 2]</li>
<li>• AI Conduct & Confusion Testing[cite: 2]</li>
<li>• File Handling & Endpoint Testing[cite: 2]</li>
</ul>
</section>
<section>
<h2 class="text-xs uppercase tracking-widest text-cyan-400 font-bold mb-3">Contact</h2>
<div class="text-xs space-y-2 text-slate-300">
<div><span class="text-slate-500">Email:</span> <a href="mailto:127.0.0.1-hire.me@proton.me" class="text-cyan-300 hover:underline">127.0.0.1-hire.me@proton.me</a>[cite: 2]</div>
<div><span class="text-slate-500">GitHub:</span> <a href="https://github.com/FrankSx" target="_blank" class="text-cyan-300 hover:underline">github.com/FrankSx</a>[cite: 2]</div>
<div><span class="text-slate-500">Web:</span> <span class="text-cyan-300">Franksx.github.io/..--..--../</span>[cite: 2]</div>
</div>
</section>
<section>
<h2 class="text-xs uppercase tracking-widest text-cyan-400 font-bold mb-2">Stealth Layer</h2>
<p class="text-[11px] leading-relaxed text-slate-400">
This resume is embedded as base64 in SVG attributes, and as plaintext in an HTML comment after </html>[cite: 2].
</p>
</section>
</div>
</div>
<div class="mt-8 pt-6 border-t border-cyan-500/20 flex items-center justify-between">
<div class="text-[10px] text-cyan-400/60 tracking-widest">PARSER FOREST • LAYER 1 UNLOCKED</div>
<button id="closeResume" class="text-xs px-4 py-2 rounded-xl bg-white/5 hover:bg-white/10 border border-white/10 transition text-slate-200">ESC to close</button>
</div>
</div>
</div>
</div>
<!-- SHADER CODE -->
<script id="vs" type="x-shader/x-vertex">
attribute vec2 position;
void main() { gl_Position = vec4(position, 0.0, 1.0); }
</script>
<script id="fs" type="x-shader/x-fragment">
precision highp float;
uniform vec2 u_resolution;
uniform vec2 u_mouse;
uniform float u_time;
uniform float u_pulse;
uniform int u_mode;
vec3 palette( in float t, in vec3 a, in vec3 b, in vec3 c, in vec3 d ) {
return a + b * cos( 6.28318 * ( c * t + d ) );
}
void main() {
vec2 uv = (gl_FragCoord.xy * 2.0 - u_resolution.xy) / min(u_resolution.x, u_resolution.y);
vec2 mouse = (u_mouse.xy * 2.0 - u_resolution.xy) / min(u_resolution.x, u_resolution.y);
vec2 uv0 = uv;
vec3 finalColor = vec3(0.0);
float distToMouse = length(uv - mouse);
uv += (uv - mouse) * exp(-distToMouse * 3.0) * (0.4 + u_pulse);
if (u_mode == 1) {
float angle = atan(uv.y, uv.x);
float radius = length(uv);
uv = vec2(angle / 3.14159, 1.0 / (radius + 0.1) + u_time * 0.5);
}
for (float i = 0.0; i < 4.0; i++) {
if (u_mode == 0) {
uv = fract(uv * 1.5) - 0.5;
} else if (u_mode == 2) {
uv = sin(uv * 1.8 + u_time * 0.2) + cos(uv.yx * 2.2 - u_time * 0.3);
}
float d = length(uv) * exp(-length(uv0));
vec3 a = vec3(0.5, 0.5, 0.5);
vec3 b = vec3(0.5, 0.5, 0.5);
vec3 c = vec3(1.0, 1.0, 1.0);
vec3 d_col = vec3(0.263, 0.416, 0.557) + vec3(i * 0.2, 0.1 * u_time, 0.3);
vec3 col = palette(length(uv0) + i * 0.4 + u_time * 0.4, a, b, c, d_col);
d = sin(d * 8.0 + u_time * 2.0) / 8.0;
d = abs(d);
d = pow(0.01 / d, 1.2);
finalColor += col * d;
}
finalColor += vec3(0.1 / length(uv0 - mouse * 0.5)) * vec3(0.2, 0.8, 1.0) * u_pulse;
gl_FragColor = vec4(finalColor, 1.0);
}
</script>
<!-- WEBGL & INTERACTION CONTROLLER -->
<script>
const canvas = document.getElementById('glcanvas');
const gl = canvas.getContext('webgl');
const resume = document.getElementById('resume');
const backdrop = document.getElementById('resumeBackdrop');
const closeBtn = document.getElementById('closeResume');
const openResumeBtn = document.getElementById('openResumeBtn');
// Shader setup
function createShader(gl, type, source) {
const shader = gl.createShader(type);
gl.shaderSource(shader, source);
gl.compileShader(shader);
return shader;
}
const program = gl.createProgram();
gl.attachShader(program, createShader(gl, gl.VERTEX_SHADER, document.getElementById('vs').text));
gl.attachShader(program, createShader(gl, gl.FRAGMENT_SHADER, document.getElementById('fs').text));
gl.linkProgram(program);
const positionBuffer = gl.createBuffer();
gl.bindBuffer(gl.ARRAY_BUFFER, positionBuffer);
gl.bufferData(gl.ARRAY_BUFFER, new Float32Array([-1,-1, 1,-1, -1,1, -1,1, 1,-1, 1,1]), gl.STATIC_DRAW);
const posAttr = gl.getAttribLocation(program, 'position');
gl.enableVertexAttribArray(posAttr);
gl.vertexAttribPointer(posAttr, 2, gl.FLOAT, false, 0, 0);
const uResolution = gl.getUniformLocation(program, 'u_resolution');
const uMouse = gl.getUniformLocation(program, 'u_mouse');
const uTime = gl.getUniformLocation(program, 'u_time');
const uPulse = gl.getUniformLocation(program, 'u_pulse');
const uMode = gl.getUniformLocation(program, 'u_mode');
let mouseX = window.innerWidth / 2, mouseY = window.innerHeight / 2;
let targetMouseX = mouseX, targetMouseY = mouseY;
let pulse = 0.0, currentMode = 0;
const modes = ['Kaleidoscope', 'Hyper-Tunnel', 'Liquid Plasma'];
function resize() {
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
gl.viewport(0, 0, canvas.width, canvas.height);
}
window.addEventListener('resize', resize);
resize();
window.addEventListener('mousemove', (e) => {
targetMouseX = e.clientX;
targetMouseY = window.innerHeight - e.clientY;
});
const triggerPulse = (e) => {
if (resume.contains(e.target)) return;
pulse = 1.0;
};
window.addEventListener('mousedown', triggerPulse);
const toggleMode = () => {
currentMode = (currentMode + 1) % modes.length;
document.getElementById('modeVal').textContent = modes[currentMode];
};
document.getElementById('toggleBtn').addEventListener('click', (e) => { e.stopPropagation(); toggleMode(); });
// RESUME TOGGLE LOGIC
function toggleResume(show) {
const willShow = typeof show === 'boolean' ? show : resume.classList.contains('is-hidden');
if (willShow) {
resume.classList.remove('is-hidden');
resume.classList.add('is-visible');
} else {
resume.classList.add('is-hidden');
resume.classList.remove('is-visible');
}
}
let keyBuffer = '';
window.addEventListener('keydown', (e) => {
if (e.key === 'Escape') toggleResume(false);
if (e.code === 'Space' && resume.classList.contains('is-hidden')) toggleMode();
keyBuffer = (keyBuffer + e.key.toLowerCase()).slice(-8);
if (keyBuffer.includes('resume')) { toggleResume(true); keyBuffer = ''; }
if (e.key.toLowerCase() === 'r' && !e.ctrlKey && !e.metaKey && !e.altKey) toggleResume();
});
let lastClick = 0, clicks = 0;
window.addEventListener('pointerdown', (e) => {
if (resume.contains(e.target) || openResumeBtn.contains(e.target)) return;
const now = Date.now();
if (now - lastClick < 380) clicks++; else clicks = 1;
lastClick = now;
if (clicks >= 3) { toggleResume(); clicks = 0; }
});
openResumeBtn.addEventListener('click', (e) => { e.stopPropagation(); toggleResume(true); });
backdrop.addEventListener('click', () => toggleResume(false));
closeBtn.addEventListener('click', () => toggleResume(false));
// Render Loop
let startTime = performance.now();
function render(currentTime) {
const elapsedTime = (currentTime - startTime) * 0.001;
mouseX += (targetMouseX - mouseX) * 0.08;
mouseY += (targetMouseY - mouseY) * 0.08;
pulse *= 0.92;
gl.useProgram(program);
gl.uniform2f(uResolution, canvas.width, canvas.height);
gl.uniform2f(uMouse, mouseX, mouseY);
gl.uniform1f(uTime, elapsedTime);
gl.uniform1f(uPulse, pulse);
gl.uniform1i(uMode, currentMode);
gl.drawArrays(gl.TRIANGLES, 0, 6);
requestAnimationFrame(render);
}
requestAnimationFrame(render);
</script>
</body>
</html>
<!--
======================================================================
PARSER LAYER 3: RAW PLAINTEXT RESUME
======================================================================
FrankSx
Creative Technologist / Reverse Engineering / Consultant
SUMMARY:
Researcher focused on parser differentials, polyglot files, and browser rendering edge cases.
I build generative systems that hide in plain sight.
SKILLS:
- Reverse Engineering (HW/SW/OS)
- Firmware / Embedded Security Assessment
- Generative Art (Canvas2D/WebGL)
- AI Conduct & Confusion Testing
- File Handling & Endpoint Testing
CONTACT:
Email: 127.0.0.1-hire.me@proton.me
GitHub: github.com/FrankSx
Web: Franksx.github.io/..--..--../
======================================================================
-->