Better images

Setting in place the framework for more interactivity

For some unknown reason, I haven’t been using a spacer when creating all of my diagrams. Just eyeballing it. I hadn’t noticed much in light mode on the site unless I really stuffed it, but when put against the darker background of Photoswipe (more on that below), it was painfully apparent.

Incomes the spacer to slowly but surely fix all of my diagrams:

The spacer, made of an equilateral triangle and even rectangles
The spacer, made of an equilateral triangle and even rectangles

I just wanted to zoom in

The advantage of using svgs was a fast page load and you could zoom in, kind of forever. The disadvantage that I’d ignored up until this moment was that you couldn’t open them in fullscreen easily on desktop.

Turns out the theme I’ve been using has its own implementation of a Javascript image viewing library (Photoswipe) that - probably due to the way I’ve implemented it (poorly), isn’t running the latest version of Photoswipe.

The result of proper
The result of proper

Long long story short, I rewrote a custom photoswipe component that handles all images I use on this website including svgs, webps and pngs.

Now you can click through happily and it sizes dynamically based on your screen. Lots of fiddling to get that one right.

138 diagrams

This is probably too many, I’m thinking I might turn some in to gifs/animations now I’ve seen them play through quickly through photoswipe.

They’re also 1000 words each right? 138000 word rulebook. Nice.

It also also means that whenever I noticed something wrong (like slight clipping through of edges of underneath hexagons…really only noticeable on a dark background). I have to make 138 small adjustments. Kicking myself on that one. Thankfully I’m pairing that with my spacer and have been putting good music on before work and chugging through them.

Anyway, that’s about all. Thanks for reading 🌋

Licensed under CC BY-NC-SA 4.0
Last updated on Aug 04, 2025 00:00 AEST

Lava your comments here

Loading comments...

I acknowledge the Wurundjeri Woi-wurrung people as the Traditional Owners of the lands and waterways on which this idea was brought to life, and pay my respect to the wisdom of their Elders past and present.

A boardgame designed by Alex Barnes-Keoghan
Built with Hugo, Theme Stack designed by Jimmy
Parallax stars effect by Sarazond, hexagonal background by Temani Afif
GAME TESTED BY// Ruby Benjy Amy Toby Hugh Liam Kumal Ben Sam Huon Jonathan The Melbourne Incubator Sonya Joseph Daarsya Jess Ryan and many more