Found this
https://luapower.com/Got some bitmap stuff plus lots of other useful stuff.
Running bitmap_test.lua now, averaging 33MB/s?
Goes from 6-250MB/s depending on pixel depth.
For rgb565 16 bit pixels = 48MB/s, 320x240 TFT LCD = 312 frames/sec on old Pi B.
Way more stuff than I need, but clues on how to do pixels,arrays etc.
1st method, Use external UI tools to make rgb565 bitmap = 115kb, file copy to fb then do pixel plotting over that. Time to cp 115kb file?
2nd method make rgb565 bitmap from lua code on the fly, time to write 115k fb from lua?
3rd method use shell/lua/micropython script to make bitmap from config file.
option 1 requires paint tool that makes rgb565 files, sorry MS Paint
3rd method would allow for easy theming, just change colour in config script.