| Posted: 05:23pm 11 Oct 2022 |
|
|
|
Every single Frame is completly redrawn. With the use of the Framebuffer I can redraws the screen hidden and make it Vissible when it is ready. This makes the screen animation flicker-free.
Here I paint the Lower half of the screen, green, then I draw Line by Line, the Border and the Street.
by giving up the get_BorderCol% Function call and replacing with
bc%=col%(7-3*((Sin((((150-f%)/40)^3)+dist%))>0)) this little demo gets up to 30 fps
I dont know, how fast the spi lcd can be redrawn. Edited 2022-10-12 03:34 by Martin H. |