-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmisc.html
More file actions
233 lines (211 loc) · 7.29 KB
/
misc.html
File metadata and controls
233 lines (211 loc) · 7.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Misc | Daniel Han</title>
<link rel="icon" type="image/png" href="images/f1zzyicon.png">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<style>
.misc-container { max-width: 1200px; margin: 0 auto; width: 90%; padding-top: 150px; }
.module-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2.5rem;
margin-top: 4rem;
}
.blog-card {
text-decoration: none;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 380px;
}
.blog-card:hover .blog-desc {
color: var(--text-secondary) !important;
}
.icon-container {
height: 80px;
display: flex;
align-items: center;
margin-bottom: 1.5rem;
position: relative;
}
/* 1. Typing: Terminal Flickering Bits */
.terminal-prompt {
font-family: var(--font-mono);
font-weight: 700;
font-size: 1.6rem;
color: var(--accent);
display: flex;
align-items: center;
}
.flicker-char::before {
content: "0x";
animation: char-cycle 1.5s infinite steps(1);
}
.blinking-cursor {
width: 12px;
height: 24px;
background: var(--accent);
margin-left: 5px;
animation: blink 1s infinite;
}
@keyframes char-cycle {
0% { content: "0xFC"; }
20% { content: "108"; }
40% { content: "0xBF"; }
60% { content: "0x01"; }
80% { content: "AA"; }
}
/* 2. Music: Perpetual Wave Visualizer */
.wave-container {
display: flex;
align-items: flex-end;
gap: 4px;
height: 40px;
}
.wave-bar {
width: 5px;
height: 10px;
background: var(--accent);
border-radius: 2px;
animation: wave-bounce 0.8s infinite alternate ease-in-out;
}
.wave-bar:nth-child(1) { animation-duration: 0.5s; }
.wave-bar:nth-child(2) { animation-duration: 0.7s; }
.wave-bar:nth-child(3) { animation-duration: 0.4s; }
.wave-bar:nth-child(4) { animation-duration: 0.6s; }
@keyframes wave-bounce {
from { height: 8px; opacity: 0.4; }
to { height: 40px; opacity: 1; }
}
/* 3. Poetry: HUMAN SEQUENTIAL WRITER */
.doodle-canvas {
position: relative;
width: 120px;
height: 80px;
}
.doodle-line {
fill: none;
stroke: var(--accent);
stroke-width: 1.5;
stroke-dasharray: 110;
stroke-dashoffset: 110;
}
.line-1 { animation: reveal-1 12s infinite linear; }
.line-2 { animation: reveal-2 12s infinite linear; }
.line-3 { animation: reveal-3 12s infinite linear; }
@keyframes reveal-1 {
0%, 5% { stroke-dashoffset: 110; }
25%, 95% { stroke-dashoffset: 0; }
100% { stroke-dashoffset: 110; }
}
@keyframes reveal-2 {
0%, 33% { stroke-dashoffset: 110; }
53%, 95% { stroke-dashoffset: 0; }
100% { stroke-dashoffset: 110; }
}
@keyframes reveal-3 {
0%, 66% { stroke-dashoffset: 110; }
86%, 95% { stroke-dashoffset: 0; }
100% { stroke-dashoffset: 110; }
}
.pencil-move-group {
animation: move-document 12s infinite linear;
}
.pencil-jitter-group {
transform-origin: bottom left;
animation: jitter 0.2s infinite ease-in-out;
}
@keyframes move-document {
0%, 5% { transform: translate(10px, 5px); }
25% { transform: translate(110px, 5px); }
25.1%, 33% { transform: translate(10px, 25px); }
53% { transform: translate(110px, 25px); }
53.1%, 66% { transform: translate(10px, 45px); }
86% { transform: translate(110px, 45px); }
95%, 100% { transform: translate(10px, 5px); }
}
@keyframes jitter {
0%, 100% { transform: rotate(-15deg); }
50% { transform: rotate(-17deg) translate(0.2px, 0.2px); }
}
@media (max-width: 950px) {
.module-grid { grid-template-columns: 1fr; }
.blog-card { min-height: auto; }
}
</style>
</head>
<body>
<div class="grid-bg"></div>
<nav class="nav">
<div class="nav-container">
<a href="index.html"><div class="nav-logo nav-glitch" data-text="> Daniel Han">> Daniel Han</div></a>
<div class="nav-links">
<a href="index.html#home" class="hacker-text" data-value="Home">Home</a>
<a href="misc.html" class="hacker-text active" data-value="Misc">Misc</a>
</div>
</div>
</nav>
<div class="misc-container">
<h2 class="section-title hacker-text" data-value="> Miscellaneous">> Miscellaneous</h2>
<p style="color: var(--text-secondary); max-width: 800px; font-size: 1.1rem;">
A collection of my non-professional work. Enjoy!
</p>
<div class="module-grid">
<a href="typing.html" class="blog-card">
<div>
<div class="icon-container">
<div class="terminal-prompt">
<span>></span><span class="flicker-char" style="margin-left: 8px;"></span><div class="blinking-cursor"></div>
</div>
</div>
<h3 class="blog-title">Fast Fingered?</h3>
<p class="blog-desc">A quick typing challenge. Recognition given only to the elite.</p>
</div>
<div class="read-more">Play Game ></div>
</a>
<a href="music.html" class="blog-card">
<div>
<div class="icon-container">
<div class="wave-container">
<div class="wave-bar"></div>
<div class="wave-bar"></div>
<div class="wave-bar"></div>
<div class="wave-bar"></div>
<div class="wave-bar"></div>
</div>
</div>
<h3 class="blog-title">Judge My Music Taste</h3>
<p class="blog-desc">A live deep-dive into my Spotify. Feel free to roast my top artists and listening habits.</p>
</div>
<div class="read-more">View Data ></div>
</a>
<a href="poetry.html" class="blog-card">
<div>
<div class="icon-container">
<div class="doodle-canvas">
<svg width="120" height="85" viewBox="0 -25 120 85">
<path class="doodle-line line-1" d="M10,5 L30,7 L50,4 L70,6 L90,4 L110,5" />
<path class="doodle-line line-2" d="M10,25 L30,27 L50,24 L70,26 L90,24 L110,25" />
<path class="doodle-line line-3" d="M10,45 L30,47 L50,44 L70,46 L90,44 L110,45" />
<g class="pencil-move-group">
<g class="pencil-jitter-group">
<text x="0" y="0" font-size="28" fill="var(--accent)" transform="translate(14, 4)">✎</text>
</g>
</g>
</svg>
</div>
</div>
<h3 class="blog-title">Unfiltered Thoughts</h3>
<p class="blog-desc">A collection of creative writing and poems I wrote.</p>
</div>
<div class="read-more">Open Archive ></div>
</a>
</div>
</div>
<script src="script.js"></script>
</body>
</html>