I dont think its possible but I was curious to know if its possible to refresh the screen without having to write over already drawed pixels / images. In simpler terms, Im trying to use wireframe graphics for my Elite re-write but im having a problem with having to clear the screen every time objects change positions, I’d like to know if theres any sneaky ways around this?
You will always have to overdraw; either by filling the entire screen (or a subarea), or by drawing back over the lines you already drew but using the background colour.
Unfortunately the display and the way it’s connected don’t give us any good ways of accelerating things - every pixel that changes has to be explicitly written.
Damn. That sucks. I’m guessing its the same for micropython?
It’s a fundamental hardware limitation.
Do your writing to a framebuffer which can be cleared almost instantly and then use the framebuffer copy to update the screen. see https://www.youtube.com/shorts/UXRmoCaHYkU for a demo which was posted by the MMbasic author
Found another one here https://www.youtube.com/watch?v=3BBCxP_z_vU
As far as i know, it still clears the screen before rewriting. (It feels like it stutters but it doesn’t. Id say it’s about 1fps id not half a frame per second)
you can keep things that don’t change in the framebuffer and the things that change in the layer and erase only the layer (in mmbasic)