Hey,
Sorry it’s been almost a year - I don’t really want to make my GitHub repo public because I use it to store lots of stuff like project plans, brand assets, yada yada. But, the source code is effectively open already in the pdx file for a sufficiently motivated individual.
But, I won’t make you jump through all those hoops :) Here’s a gist with the Lua source. Apologies for being a lazy programmer here. It’s all in one file, and I haven’t cleaned anything up for public consumption.
https://gist.github.com/jiaaro/56085d9b33e5893de7b5c03a4ac0f01d