| Pronouns | he/him |
| Site | https://aaronc.cc |
| Bluesky | https://bsky.app/profile/aaronc.cc |
| GitHub | https://github.com/AaronC81 |
| Pronouns | he/him |
| Site | https://aaronc.cc |
| Bluesky | https://bsky.app/profile/aaronc.cc |
| GitHub | https://github.com/AaronC81 |
Falling in love with inline snapshot testing
My usual problem with snapshot testing is that you need to find the snapshot files to learn the expected output of a test - but with inline snapshots, the expectation is in the test code, which can be updated automatically by the snapshot tool. Neat!
For the latest Gosu Game Jam, I wrote a crop-cultivating roguelike deckbuilder in Ruby, where you race the clock to score coins by combining your crops' effects.
This is the most fun I've had creating a jam entry, I've wanted to try making a card game for a while!
TIL that: 1) you can have SVG favicons nowadays, and 2) they can be styled to respond to light/dark mode automatically
https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
The inconsistency of icon usage between apps is really interesting, and I wonder if it's consequence of how SF Symbols (Apple's icon font) is organised.
Icons are named by SHAPE, not PURPOSE. That could make it more likely for different apps to assign different meanings to the same icon.
Even better, this ancient version still supports WebSocket integration, so there are some fun browser toys you can play around with.
I enjoyed flailing my hand to interact with this particle simulation (which also works with a mouse): https://molefrog.com/etc/knife/
Windows is more promising, because there are older (so more compatible) driver versions available, still branded as "Leap Motion".
After downgrading from v6 to v2 drivers, with a manual patch for Windows 10+ (https://web.archive.org/web/20250309155647/https://forums.leapmotion.com/t/resolved-windows-10-fall-creators-update-bugfix/6585), this device works with some of the stuff on itch.io!
I suspect the development scene was more active when this gadget first released 😅
In an itch.io search for "Leap Motion", every macOS game is either too old to run, or can't see my hands.
The Windows driver doesn't support ARM, so no Parallels.
I'll have another go later on an x86 Windows PC!
The software is now distributed as "Ultraleap" - somewhat amazingly, It Just Works on my Apple Silicon Mac.
The hand tracking seems pretty good! It feels more responsive than my Quest 2 or 3 in this demo window.