Tangentially related, but I hope will be appreciated by the nostalgic people here:

Recently, reading the Wikipedia article about Z-order curves, I found this link inside the article:

https://hermanntropf.de/media/DBCode_mit_Erlaeuterung.txt

It's a blog post written in 2021, in txt, with ASCII diagrams and Pascal source code. I hope it warms your hearts.