You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.1 KiB
39 lines
1.1 KiB
---
|
|
title: Photo Gallery
|
|
---
|
|
<script>
|
|
let slideIndex = 0;
|
|
let slides;
|
|
|
|
document.addEventListener("DOMContentLoaded", function() {
|
|
slides = document.querySelectorAll(".photo");
|
|
slideIndex = Math.floor(Math.random() * slides.length);
|
|
showSlide(slideIndex);
|
|
});
|
|
|
|
// Next/previous controls
|
|
function changeSlides(n) {
|
|
slideIndex += n;
|
|
|
|
if (slideIndex >= slides.length) {
|
|
slideIndex = 0;
|
|
}
|
|
|
|
if (slideIndex < 0) {
|
|
slideIndex = slides.length - 1;
|
|
}
|
|
|
|
showSlide(slideIndex);
|
|
}
|
|
|
|
function showSlide(n) {
|
|
slides.forEach((slide, i) => {
|
|
slide.style.display = i === n ? "inherit" : "none";
|
|
});
|
|
}
|
|
|
|
</script>
|
|
|
|
<p>
|
|
These are some of my favorite photos I've taken over the course of several years. These are mostly self-developed film photos, although some of them are from my new digital camera. My workflow is to develop a negative and then scan it using an Epson scanner; I then store it digitally. I use an old Canon Rebel EOS, shooting entirely on manual mode. The color photos were mostly taken on cheap FUJI reels, while the black and white are ILFORD reels.
|
|
</p>
|
|
|