tajhlande / lmae

Raspberry Pi LED matrix animation engine - app building library
GNU General Public License v3.0
2 stars 0 forks source link

Refactor frame rate and rendering management out of individual apps into superclass #13

Closed tajhlande closed 8 months ago

tajhlande commented 8 months ago

Now there are multiple apps that all have very similar run() bodies, with only minor differences related to wait time to check for view update and the maximum frame rate. This code can be consolidated and abstracted, and in the process, apps will become simpler.

The SingleStageRenderLoopApp was an early attempt at this, and it works for very simple use cases, but something a bit more sophisticated is needed.