-
Notifications
You must be signed in to change notification settings - Fork 0
/
about_me.html
422 lines (363 loc) · 20.3 KB
/
about_me.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
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
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>About Me</title>
<link rel="stylesheet" href="styles.css">
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
</head>
<body>
<div class="desktop_version">
<div class="header">
<a href="/index.html" class="logo">Joseph Walewski</a>
<div class="header-left">
<a href="/about_me.html">About Me</a>
<a href="/research.html">Research</a>
<a href="/running.html">Running</a>
<a href="/news.html">News</a>
</div>
<div class="header-right">
<a href="files/Joseph Walewski CV November 2024.pdf">Resume</a>
<a href="https://www.linkedin.com/in/josephwalewski/">LinkedIn</a>
<a href="https://github.com/jwalewski">GitHub</a>
<a href="https://www.instagram.com/jwalewski_/">Instagram</a>
</div>
</div>
<div id="first_content">
<h1>I love what I do</h1>
<p>
I have always seen passion to be the purest motivator. In my life, extreme curiosity leads me to always wonder about what could be next, regardless if the road there is through an experimental procedure, a literal road I am running,
or some life experience I have the oppurtunity to take.
<p>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Other Academic Interests</h3>
<p>
Other than my research career, I am also quite fascinated by many other academic disciplines. I've always had an excellent spatial/visual memory, which has led me towards subjects such as geography and linguistics, which demand a great deal of memorization.
I see mass memorization as an exciting challenge of how to categorize the given information in the most relevant and efficient ways, with the percent of content accurately remembered as a metric to assess different strategies.
For example, I have drawn countless maps from memory of Fairfield (my hometown), Connecticut, or the country/world as a whole. I love taking the time to admire all of the little details of such complex natural and constructed systems as plate tectonics or interstate highways.
I now draw maps for many subjects I learn, such as organic chemistry. When I was studying for my final, I drew a "map" of all of the chemical species we had to learn about. I then thought of the reactions as "roads" in between the different locations, and noticed key trends more easily.
For example, adding Lithium Aluminum Hydride usually takes you "down" and to the "right" on the map. While oxidation state of the central carbon and chemical stability replaced north, south, east, and west, I loved my new map so much I remastered it for MCAT studying.
I got a 100% on the organic chemistry questions on my practice tests and a 130 on the chemistry/physics section of the actual test, representing a 96th percentile score. The organic chemistry map (on the right) is zoomable and pannable; take a look and see for yourself if any other trends stick out!
</p>
<p>
</p>
<div class="photos_container">
<div class="left_side_image">
<img src="images/fairfield_map.jpg">
</div>
<div class="right_side_image">
<!-- <img src="files/Common Organic Chemistry Reactions 1_23_24.svg"> -->
<div id="svg_placeholder" class="zoomable_svg"></div>
</div>
</div>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Other Athletic Interests</h3>
<p>
Other than running, I am also quite passionate for many other sports. Before commiting full-time to running in college, I spent winters on the varisty swim team at Phillips Exeter Academy, with my favorite stroke being butterfly.
Being from a very baseball oriented town, I played the sport for six years of my childhood and still love catching Red Sox games when I visit my girlfriend in Boston.
</p>
<p>
</p>
<div class="photos_container">
<div class="landscape">
<img src="images/exeter_pool.JPG" alt="The Phillips Exeter Academy Pool just after my last swim practice">
<img src="images/baseball_young.JPG">
</div>
<div class="portrait">
<img src="/images/viv_redsox.jpg" alt="My girlfriend and I watching the Red Sox">
</div>
</div>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Hobbies</h3>
<p>
Lastly, I absolutely love spending time in nature. During my time at Exeter I was an outing (hiking) club co-head, and I hiked <a href="https://www.google.com/maps/place/44%C2%B039'46.3%22N+71%C2%B026'06.8%22W/@44.7103056,-71.3155387,8.52z/data=!4m4!3m3!8m2!3d44.662846!4d-71.435221?entry=ttu">North Percy Peak</a> to view the April 8th, 2024 eclipse.
More regularly, I spend time on the beach, as my hometown has <a href="https://fairfieldrecreation.com/beaches/about_the_beaches.php">six beautiful beaches</a>. There, I love to play spikeball, go fishing, take photos of the gorgeous sunrises, and hang out with friends and family.
</p>
<p>
</p>
<div class="photos_container">
<div class="portrait">
<img src="images/eclipse.PNG">
</div>
<div class="landscape">
<img src="images/spikeball.jpg">
<img src="images/fairfield_sunrise.jpg">
</div>
</div>
</div>
<div class="fixed-footer">
<div class="container"><a href="https://github.com/jwalewski/josephwalewski.com">Built from scratch</a> by Joseph Walewski</div>
</div>
</div>
</div>
<div class="mobile_version">
<div class="header-mobile">
<div class="button-container header-button">
<button class="expand-button header-button">Menu</button>
<div class="expanded-content header-button">
<h2>Joseph Walewski</h2>
<div class="scrollable-content header-button">
<div class="header-left">
<a href="/index.html" class="logo">Home</a><br><br>
<a href="/about_me.html">About Me</a><br><br>
<a href="/research.html">Research</a><br><br>
<a href="/running.html">Running</a><br><br>
<a href="/news.html">News</a><br>
</div>
<div class="header-right">
<br>
<a href="files/Joseph Walewski CV November 2024.pdf">Resume</a><br><br>
<a href="https://www.linkedin.com/in/josephwalewski/">LinkedIn</a><br><br>
<a href="https://github.com/jwalewski">GitHub</a><br><br>
<a href="https://www.instagram.com/jwalewski_/">Instagram</a>
</div>
</div>
</div>
<div class="collapsed-content">
</div>
</div>
</div>
<div id="first_content">
<h1>I love what I do</h1>
<p>
I have always seen passion to be the purest motivator. In my life, extreme curiosity leads me to always wonder about what could be next, regardless if the road there is through an experimental procedure, a literal road I am running,
or some life experience I have the oppurtunity to take.
<p>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Other Academic Interests</h3>
<p>
Other than my research career, I am also quite fascinated by many other academic disciplines. I've always had an excellent spatial/visual memory, which has led me towards subjects such as geography and linguistics, which demand a great deal of memorization.
I see mass memorization as an exciting challenge of how to categorize the given information in the most relevant and efficient ways, with the percent of content accurately remembered as a metric to assess different strategies.
For example, I have drawn countless maps from memory of Fairfield (my hometown), Connecticut, or the country/world as a whole. I love taking the time to admire all of the little details of such complex natural and constructed systems as plate tectonics or interstate highways.
</p>
<div class="left_side_image">
<img src="images/fairfield_map.jpg">
</div>
<p>
I now draw maps for many subjects I learn, such as organic chemistry. When I was studying for my final, I drew a "map" of all of the chemical species we had to learn about. I then thought of the reactions as "roads" in between the different locations, and noticed key trends more easily.
For example, adding Lithium Aluminum Hydride usually takes you "down" and to the "right" on the map. While oxidation state of the central carbon and chemical stability replaced north, south, east, and west, I loved my new map so much I remastered it for MCAT studying.
I got a 100% on the organic chemistry questions on my practice tests and a 130 on the chemistry/physics section of the actual test, representing a 96th percentile score. The organic chemistry map (below) is zoomable and pannable; take a look and see for yourself if any other trends stick out!
</p>
<!-- <img src="files/Common Organic Chemistry Reactions 1_23_24.svg"> -->
<div id="svg_placeholder_mobile" class="zoomable_svg">
<svg width="1000" height="1000"data="files/Common Organic Chemistry Reactions 1_23_24.svg">
</svg>
</div>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Other Athletic Interests</h3>
<p>
Other than running, I am also quite passionate for many other sports. Before commiting full-time to running in college, I spent winters on the varisty swim team at Phillips Exeter Academy, with my favorite stroke being butterfly.
Being from a very baseball oriented town, I played the sport for six years of my childhood and still love catching Red Sox games when I visit my girlfriend in Boston.
</p>
<p>
</p>
<div class="photos_container">
<div class="landscape">
<img src="images/exeter_pool.JPG" alt="The Phillips Exeter Academy Pool just after my last swim practice">
<img src="images/baseball_young.JPG">
</div>
<div class="portrait">
<img src="/images/viv_redsox.jpg" alt="My girlfriend and I watching the Red Sox">
</div>
</div>
</div>
<div class="whole_width_content">
<!-- I plan to have this be filled with other content that crosses the screen (like the first-content), followed by a few photos -->
<h3>Hobbies</h3>
<p>
Lastly, I absolutely love spending time in nature. During my time at Exeter I was an outing (hiking) club co-head, and I hiked <a href="https://www.google.com/maps/place/44%C2%B039'46.3%22N+71%C2%B026'06.8%22W/@44.7103056,-71.3155387,8.52z/data=!4m4!3m3!8m2!3d44.662846!4d-71.435221?entry=ttu">North Percy Peak</a> to view the April 8th, 2024 eclipse.
More regularly, I spend time on the beach, as my hometown has <a href="https://fairfieldrecreation.com/beaches/about_the_beaches.php">six beautiful beaches</a>. There, I love to play spikeball, go fishing, take photos of the gorgeous sunrises, and hang out with friends and family.
</p>
<p>
</p>
<div class="photos_container">
<div class="portrait">
<img src="images/eclipse.PNG">
</div>
<div class="landscape">
<img src="images/spikeball.jpg">
<img src="images/fairfield_sunrise.jpg">
</div>
</div>
</div>
<div class="fixed-footer">
<div class="container"><a href="https://github.com/jwalewski/josephwalewski.com">Built from scratch</a> by Joseph Walewski</div>
</div>
</div>
<script>
// Add an event listener to all the collapsible buttons
var collapsibleButtons = document.getElementsByClassName('collapsible');
for (var i = 0; i < collapsibleButtons.length; i++) {
collapsibleButtons[i].addEventListener('click', function () {
// Toggle the active class for the clicked button
this.classList.toggle('active');
// Toggle the content visibility for the clicked button
var content = this.nextElementSibling;
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + 'px';
}
});
}
</script>
<script>
var collapsibleButtons = document.querySelectorAll('.button-container');
collapsibleButtons.forEach(function(button) {
button.addEventListener('click', function () {
// Toggle the active class for the clicked button
this.classList.toggle('active');
// Toggle the content visibility for the clicked button
var content = this.querySelector('.expanded-content'); // Get the content div within the clicked button
if (content.style.maxHeight) {
content.style.maxHeight = null;
} else {
content.style.maxHeight = content.scrollHeight + 'px';
}
});
});
</script>
<script>
let currentContainer = null; // Track current SVG container based on screen width
function getSvgContainer() {
// Determine which container to use based on current screen width
return window.innerWidth < 500
? document.getElementById('svg_placeholder_mobile')
: document.getElementById('svg_placeholder');
}
function loadSvgIntoContainer() {
const newContainer = getSvgContainer();
// Only reload if the container needs to change (for mobile <-> desktop switching)
if (newContainer !== currentContainer) {
fetch('files/Common Organic Chemistry Reactions 1_23_24.svg')
.then(response => {
console.log("Fetch status:", response.status);
return response.text();
})
.then(data => {
newContainer.innerHTML = data; // Load SVG into new container
currentContainer = newContainer; // Update current container reference
// Select the SVG element
const svg = newContainer.querySelector('svg');
svg.setAttribute('viewBox', '0 0 10000 10000'); // Set initial viewBox values (adjust as needed)
svg.style.width = '100%';
svg.style.height = '100%';
svg.style.maxWidth = '100vw';
svg.style.maxHeight = '100vh';
console.log("SVG element inserted and viewBox set");
let viewBoxValues = [0, 0, 10000, 10000];
let isPanning = false;
let startX, startY;
// Variables for mobile pinch-to-zoom
let initialDistance = null;
let isPinching = false;
// Handle zooming with scroll (desktop)
function zoom(event) {
event.preventDefault();
const zoomFactor = 1.1;
const direction = event.deltaY < 0 ? 1 / zoomFactor : zoomFactor;
viewBoxValues[2] *= direction;
viewBoxValues[3] *= direction;
// Center the viewBox for a smooth zoom
viewBoxValues[0] += (viewBoxValues[2] * (1 - direction)) / 2;
viewBoxValues[1] += (viewBoxValues[3] * (1 - direction)) / 2;
svg.setAttribute('viewBox', viewBoxValues.join(' '));
}
// Start panning with mouse or single touch
function startPan(event) {
isPanning = true;
const touch = event.touches ? event.touches[0] : event; // Support touch or mouse
startX = touch.clientX;
startY = touch.clientY;
svg.style.cursor = 'grabbing';
if (event.touches) event.preventDefault(); // Prevent page scrolling on touch
}
// Perform panning with mouse or touch
function pan(event) {
if (!isPanning) return;
const touch = event.touches ? event.touches[0] : event;
const dx = ((startX - touch.clientX) * viewBoxValues[2]) / svg.clientWidth;
const dy = ((startY - touch.clientY) * viewBoxValues[3]) / svg.clientHeight;
viewBoxValues[0] += dx;
viewBoxValues[1] += dy;
svg.setAttribute('viewBox', viewBoxValues.join(' '));
startX = touch.clientX;
startY = touch.clientY;
if (event.touches) event.preventDefault(); // Prevent page scrolling on touch
}
// Stop panning
function stopPan() {
isPanning = false;
svg.style.cursor = 'grab';
}
// Handle pinch-to-zoom
function handlePinchStart(event) {
if (event.touches.length === 2) {
isPinching = true;
initialDistance = getTouchDistance(event.touches[0], event.touches[1]);
}
}
function handlePinchMove(event) {
if (isPinching && event.touches.length === 2) {
const newDistance = getTouchDistance(event.touches[0], event.touches[1]);
const zoomFactor = initialDistance / newDistance;
// Update viewBox width and height based on zoom factor
viewBoxValues[2] *= zoomFactor;
viewBoxValues[3] *= zoomFactor;
// Center the viewBox to keep zoom centered
viewBoxValues[0] += (viewBoxValues[2] * (1 - zoomFactor)) / 2;
viewBoxValues[1] += (viewBoxValues[3] * (1 - zoomFactor)) / 2;
svg.setAttribute('viewBox', viewBoxValues.join(' '));
initialDistance = newDistance;
event.preventDefault(); // Prevent page scrolling on pinch
}
}
function handlePinchEnd() {
isPinching = false;
initialDistance = null;
}
// Calculate the distance between two touch points for pinch gesture
function getTouchDistance(touch1, touch2) {
return Math.sqrt(
Math.pow(touch2.clientX - touch1.clientX, 2) +
Math.pow(touch2.clientY - touch1.clientY, 2)
);
}
// Event listeners for desktop
svg.addEventListener('wheel', zoom);
svg.addEventListener('mousedown', startPan);
window.addEventListener('mousemove', pan);
window.addEventListener('mouseup', stopPan);
// Event listeners for mobile touch events
svg.addEventListener('touchstart', (event) => {
if (event.touches.length === 1) startPan(event); // Single touch to pan
if (event.touches.length === 2) handlePinchStart(event); // Two fingers to start pinch
});
svg.addEventListener('touchmove', (event) => {
if (event.touches.length === 1) pan(event); // Single touch to pan
if (event.touches.length === 2) handlePinchMove(event); // Two fingers to pinch
});
svg.addEventListener('touchend', (event) => {
if (event.touches.length < 2) handlePinchEnd(); // End pinch when fewer than 2 touches
stopPan(); // End panning for any touch release
});
});
}
}
// Initial load
loadSvgIntoContainer();
// Reload SVG on screen width change (for mobile <-> desktop transitions)
window.addEventListener('resize', loadSvgIntoContainer);
</script>
</body>
</html>