Using a pictureframe is a cool idea! I actually have an 64x64 matrix in my drawer that I havent used yet. Should you decide to open source your code I'd be very interested too.
I'll update my comment tomorrow with a GitHub link, just need to tidy up the repo first. This was my very first time writing c++, so the code is probably not the cleanest ;)