Thinking about building a command line tool to create pngs of music notation so I can write about music theory on my wiki. Playing with @neauoire's nasu as a way to generate the sprites I'll be using.
Generation of palette-based PNGs. I wanted to write this entirely by hand, but it turns out that the PNG compression algorithm is more complicated than I want to deal with right now (I might end up switching to GIF later as that algo is simpler). So, I pulled in zlib and banged my head against it until it worked. Having test data from http://www.schaik.com/pngsuite/pngsuite_bas_png.html to do byte-by-byte comparisons via xxd helped a lot
Starting to build the language for entering notes. You enter notes using the first letter of solfege, and it'll pick the note closest to the previous one. You can move the cursor up or down to make bigger leaps with '+' or '-'. This is "notate 'drmfs-s+rtd'
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!