[x] Box drawing should use term.blit. We should still probably keep the term.setBackgroundColour for "backwards compatibility".
[ ] Experiment with using term.blit for drawing images. Sadly images are stored using tables of numbers, so we can't blit super efficiently, but worth seeing if it's any faster anyway.
It occurs to me that this won't work with transparent images, so may not be possible at all.
paint
[x] Drawing the initial image is slow. We should replace drawCanvas with a term.blit based version and see if it is any faster.
Just having a flick through paint and paintutils, and a couple of things we could definitely improve:
paintutils
term.blit
. We should still probably keep theterm.setBackgroundColour
for "backwards compatibility".[ ] Experiment with using
term.blit
for drawing images. Sadly images are stored using tables of numbers, so we can't blit super efficiently, but worth seeing if it's any faster anyway.It occurs to me that this won't work with transparent images, so may not be possible at all.
paint
drawCanvas
with aterm.blit
based version and see if it is any faster.